News for hackers. Stuff that matters.
Re:Don't Make Students Use Eclipse by matvore on Sunday April 12, 2020 @12:30AM (#22846062)

  > * access modifiers (public/private)
I think you can omit the "public"s in the Java hello world (thereby making everything package protected, and sneakily sidestep the issue), but I don't want to ruin this machine by installing Java on it to make sure.

To be super thorough, you would also have to understand:

- semicolons (and the related issue of newlines being semantically equivalent to normal spaces)

- naming conventions (to explain why it's not "System.Out.Println" and "Main")

Re:Don't Make Students Use Eclipse by ygra on Sunday April 12, 2020 @02:16AM (#22846388)
You can in C#, but not in Java. You can make it an enum, I think, to shorten all that. But my Java golfing knowledge is a bit rusty by now, admittedly.
Re:Don't Make Students Use Eclipse by krab on Sunday April 12, 2020 @03:10AM (#22846555)
I've just tried it and the main method indeed needs to be public.