Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If all you're doing is copy/pasting and accepting tons of magic, sure they're not much different (although you left out an important (and very common) stumbling block for Java: the filename for your example must be HelloWorld.java, and there are other conventions like that that you have to know).

But what's step 2? You start learning what each line does. With C it's "this #include basically copies in some other file, and printf is a function, and functions do this ...." To understand those lines in Java you have to learn lots of OOP terms (class, object, public, private, static, etc) that are layered on top of programming. Just learning what a "function" is is kind of hard at first. By having to learn methods instead is more friction. Now that most schools teach python or javascript first the debate about "early objects" is a lot less intense because most languages don't force OOP onto you with as heavy a hand as Java.

I also very much disagree that the language doesn't make it easier. I would agree that the concepts are the same, but the bridge between abstract and concrete is the programming language you learn, and some will be more natural (aka easy) for some people.



well you just repeated the same argument I didn't find convincing. i already said syntax is irrelevant and you are just asserting with no basis that C syntax is so much easier to comprehend that java will cause newcomers to stumble. absurd.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: