3 ms·
Yes, but what other common language besides PHP has so many ridiculous edge cases? None I use.
by jimmaswell 13y ago
Yes, but what other common language besides PHP has so many ridiculous edge cases? None I use.
- Pacabel 13y agoPerl would likely be the next closest, but even it's nowhere near as bad as PHP and JavaScript are.
- TheZenPsycho 13y agoRuby 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.
- jimmaswell 13y agoIf 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.