Hacker News new | ask | show | jobs
by alserio 1897 days ago
Not gp but avoiding the reflection pitfalls is not so straightforward at all, you have to chase what your dependencies are doing to satisfy the "closed world" hypothesis. I still like java more than javascript, but writing performant serverless functions using js is way more easy right now
1 comments

You don't have to chase your dependencies. You just need an adequate suite of tests and then run them with the Graal Tracing Agent enabled [1].

[1] - https://medium.com/graalvm/introducing-the-tracing-agent-sim...

Your tests would need to exercise all your transitive dependencies' code paths that are used in production. I very rarely see tests written that way.