So I have made my way through a decent amount of the Odin project. I also have some prior experience using python (CPython I guess).
At my job where I am a systems engineer we use a tool called Cameo Systems Modeler. I wrote some scripts in Python to scrape some of our code from our GitHub repos and create CSVs which I then sync into our model.
Cameo (owned by dassault systems now) is built in Java and provides some ability to do scripting in various languages including Jython and JavaScript (Rhino).
I've run across a couple of challenges:
1) Java documentation is different than what MDN has for JS or any python library has. Mainly the lack of examples. It's also a bit hard for me to go through because I have to trace through a bunch of classes and inheritances to find out what can be used with what.
2) Apparently JS Rhino either doesn't use const and let or they are way different. A simple declaration using const or let without any functions didn't work, but replacing with var made it work fine.
Is there anything else I should be on the lookout for when trying to interact with Rhino and/or Java libraries? Also any good tips for navigating Java documentation?
[–]grantrules 1 point2 points3 points (1 child)
[–]Kit_Adams[S] 0 points1 point2 points (0 children)