Re:Hopefully more controversial programming opinions
by dalke on Thursday August 30, 2012 @04:38AM
(#4453651)
You must write a class in order to do "hello world" in Java. C++ streams don't require you to write a class, only use what appears to be a strange syntax. You can go a long way in C++ without defining any classes of your own.
Re:Hopefully more controversial programming opinions
by regularfry on Thursday August 30, 2012 @05:18AM
(#4453759)
You have to write a class to do "hello world" in Java, but you don't have to understand OO. If you just treat the class syntax as meaningless boilerplate you can learn a lot of programming concepts before needing to touch messaging.
Having seen 3000-line single-class Java monstrosities, I can assure you that this is not only true in theory.
I haven't heard anyone argue against it, but for a very long time every single curriculum out there started with either Java or C++, and had to talk about object quite early on (you can't print "hello world" in Java without it, and you can't use C++ streams either).
And arguments I've heard about that practice as a proxy for your question, indicate that it is (or at least, was between the late '90s and the late '00s) controversial.