3 ms·
> Is it really a controversial opinion? I haven't heard anyone argue against it, but for a very long time every single curriculum out there started with either
by beagle3 14y ago
> Is it really a controversial opinion?
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.
- dalke 14y agoYou 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.
- regularfry 14y agoYou 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.