▲ | kllrnohj a day ago | |||||||||||||||||||||||||||||||||||||
Or if you're an Android developer then main doesn't exist at all and never has But yeah I don't understand why the author is so excited about this. How "ugly" a trivial "Hello, World!" does not really matter much and isn't a good indication of anything about the language's ability to handle more than "Hello, World!" | ||||||||||||||||||||||||||||||||||||||
▲ | bawolff a day ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
I think it does say something about what a language thinks is important. Java (historically) is famous for going a bit too hard core into overly abstract & verboseobject oriented design patterns - create a factory to get another factory to get a different factory and whatnot. The hello world is where java shows that style of code is what historical java felt was the ideal. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | antris a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
>How "ugly" a trivial "Hello, World!" does not really matter much and isn't a good indication of anything about the language's ability to handle more than "Hello, World!" Sure, but for beginner programmers who don't have the discipline down yet, it's unnecessarily hard. I bought a Java programming book as a kid and got stuck because of a typo that produced an error message I couldn't understand. This was the time before StackOverflow and Reddit. In retrospect, this delayed my programming journey by at least a year. Longer Hello Worlds make frustration and getting stuck like this more likely. |