Re:Why C++ sucks (2016 edition)
by paulddraper on Monday February 22, 2016 @01:03AM
(#11148869)
If a computer struggles to parse unambiguously, it doesn't bode well for mortals.
[ Parent
| on HN ]
Depends. Have computers do what computers do well, have humans do what humans do well. Humans are intuitive. They can make correct decisions from incomplete, ambiguous, or even incorrect data. What humans suck at is precise, repeatable thinking - like parsing. Meanwhile, computers are great at generating repeatable results from consistent data very quickly, but absolutely cannot make decisions. Even conditional statements aren't actually "decisions".
So a language can be hard to parse unambiguously for machines, but it can be pretty straightforward for humans - like pretty much any natural spoken language.
Re:Why C++ sucks (2016 edition)
by netheril96 on Monday February 22, 2016 @03:02AM
(#11149289)
Try insert "English" between "parse" and "unambiguously" and you can see how patently false your assertion is.
Re:Why C++ sucks (2016 edition)
by paulddraper on Monday February 22, 2016 @07:41PM
(#11155553)
I had English in mind when I wrote that comment.
https://en.wikipedia.org/wiki/List_of_linguistic_example_sen...