▲ | yohannesk a day ago | |||||||||||||||||||||||||||||||||||||
Why not abstract away the public static void main(String[] args) method with a top-level statement paradigm, similar to C#'s entry point simplification, to reduce boilerplate and enhance code conciseness? | ||||||||||||||||||||||||||||||||||||||
▲ | BinaryRage a day ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
See Brian's article "Paving the on-ramp": https://openjdk.org/projects/amber/design-notes/on-ramp | ||||||||||||||||||||||||||||||||||||||
▲ | mhh__ a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
Why should the entry point be a random special case? You're already admitting at this point that OOP is flawed so you might as well just have the balls to design a proper alternative (rather than a kludge) | ||||||||||||||||||||||||||||||||||||||
|