|
|
|
|
|
by galdosdi
1057 days ago
|
|
Are you trolling? That's 4 lines of code any Java dev can type from memory. package foo; public class Hello { public static void main(String[] args){ System.out.println("hi world"); } } As for the build and run, javac foo/Hello.java java foo.Hello That's it. This is covered in chapter one of any Java book. Am I misunderstanding your point or something? It sounds like you are complaining that Java is hard to get a simple hello world running without IDE help, but I must surely be misunderstanding you, because that would only be the case if you refused to do even the most cursory reading beforehand |
|
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"