|
|
|
|
|
by csours
1056 days ago
|
|
Not trolling. The last time I had done this was in the Java 1.0 days. I would invite you to re-read your code and see how many different things you need, and how they are expressed differently in different places. "Any Java dev" - I'm not a Java dev. I'm a dev who sometimes writes Java. I am not good at remembering equivalent commands across languages. For instance, there's not much call to remember System.out.println when writing Spring Boot apps. Different people have different skills. For instance, some people can communicate without insulting people. This is a valuable skill to grow a career. Also, there are things not shown, like environment variables. I love your comment as an example of "This is so simple, there are only 20 things that you have to get perfect, any idiot can do that" |
|
This is an example of making things harder on yourself for no reason and then complaining about your tools instead of your own artificial restrictions. There's no shame in looking some syntax up if you haven't done it in many years.
You said there were 20 things in there but I only count two unique values that aren't just boilerplate you could look up in a minute-- the package name and class name.
I just get tired of these kinds of superficial complaints about java "lol hello world takes 4 lines instead of 1" -- that barely affects any program that's more than 20 lines long. I just think you're part of the generation that grew up making fun of Java and it's just reflexive at this point. But, it's unfair.
Compare to a language like ruby -- hello world is one line but I have to learn a bunch of weird symbols
Lol, that said, the latest Java edition now has a way to avoid the public class business so your hello world can just be 3 lines, one of which is the closing brace. They did it to shut up these kinds of trivial complaints.