Re:Do you really know JavaScript?
by jimmaswell on Friday January 31, 2014 @06:17PM
(#7159836)
Yes, but what other common language besides PHP has so many ridiculous edge cases? None I use.
[ Parent
| on HN ]
Re:Do you really know JavaScript?
by TheZenPsycho on Friday January 31, 2014 @09:04PM
(#7160534)
Ruby has about as many. So does C, and C++, which each have much more, with the extra twist that C and C++'s edge cases are wildly different depending on which compiler you use and which platform, and this is labelled a "feature".
and Python. And Perl of course. Bash.
I bet you could make a similar quiz for Java too.
Re:Do you really know JavaScript?
by jimmaswell on Saturday February 01, 2014 @10:10AM
(#7161815)
If anything varies between compilers in C/C++ then you're using undefined behavior. Not the language's fault. The edge cases of these languages are less jarring then Javascript's and make more sense.