News for hackers. Stuff that matters.
Re:I write games in C (yes, C) by HoldOnAMinute on Saturday February 07, 2026 @04:10PM (#46928073)
It's possible to use only a subset of the language. You could write a Java program without classes if you really wanted to. Just put the whole thing in main().

A lot of smart people pick and choose what they want from the language, just like religion, they keep the good parts and discard the bad.

Re:I write games in C (yes, C) by direwolf20 on Saturday February 07, 2026 @05:12PM (#46928670)
main is also in a class in Java.

Even with the recent extension where it looks like it isn't, the compiler adds one for you.