<@U5375UUJ2> What assure your code would not break...
# suitescript
a
@stalbert What assure your code would not break if the Rhinno trans-compiler version change or the way import external modules changes? Or any other 100 things that could change without notice and because your are not using NetSuite native API your code have bigger chances to break and make a company lose 500K dollars or more in 1 day?
s
I don't know how long you've been developing SuiteScript, but the major rhino version supported by netsuite has been more stable than the NetSuite APIs themselves. Furthermore, because they use rhino (which is a rather poor veneer around Java) often NetSuite native objects do not work as true JS objects, increasing bugs and development cost. This is another reason to actually prefer pure JS code in NetSuite instead of relying on native apis. A major reason the open source NFT libraries exist is to provide a true javascript experience to SuiteScript devs and it saves us many hours of debugging.
👍 1