News for hackers. Stuff that matters.
Re:BlueJ – A Lightweight Java IDE by the_doctah on Thursday September 15, 2022 @10:22AM (#32852480)
It took me forever to understand what the heck the Java classpath was.
Re:BlueJ – A Lightweight Java IDE by Gibbon1 on Thursday September 15, 2022 @03:42PM (#32857502)
One of my heresy's is I think things like classpaths are an antipattern. In that determining the location of files and other resources should be a separate process. One that's explicit and debuggable.
Re:BlueJ – A Lightweight Java IDE by the-alchemist on Thursday September 15, 2022 @07:10PM (#32859659)
Funny enough, that's exactly why the Clojure community created deps.edn [0]. - optional dependencies - use JARs on disk, local projects that build JARs, or Maven Central - pull in code from git repo via url and git hash or tag ("git dependencies") - different variations for the above for different targets (run, test, integration-test, etc.)

[0]: https://clojure.org/guides/deps_and_cli