Hacker News new | past | comments | ask | show | jobs | submit login

After having a short look on the compilation, it shows one thing very accurately IMHO: C syntax is very error prone.

To sad, that so many new programming languages chose to use exactly this syntax that is so error prone.

C was a very good programming language and the short syntax might have some appeal -- but for learning programming, this syntax is not the best option, as long as you don't use it as type of intellectual test to find the best computer-people ...




English is also error-prone, as you have demonstrated—perhaps unwittingly—but we still use it around the world. I would argue that this fact makes C syntax a particularly good choice for one learning to program: Computers don't think like humans, unless we program them to think like humans.


Though it is in this case worth noting that there is enough redundancy in English that you can both a) tell that "to bad" is wrong and b) know they meant "too bad", which isn't always the case for =/==


Of course the desired phrase was "So sad". Or was it "Too sad"?


I was thinking much the same. 90% of these errors don't even exist in some other languages.




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

Search: