The only issue I have seen is that the UI can appear slightly different on either system. So, if you are scripting for general use, it is a good idea to test the UI in both environments.
Erich
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K