3 ms·
Maybe the core spec is simple, but I can't tell you how many times I got burned by "unexpected" behaviors. At this point I think the undefined/underspecified pa
by StillBored 9y ago
Maybe the core spec is simple, but I can't tell you how many times I got burned by "unexpected" behaviors. At this point I think the undefined/underspecified parts of the language are larger than C. Which is generally why I don't have a lot of nice things to say about javascript.
- hdhzy 9y agoWell isn't this natural that they are unexpected to you if you did not read the document that specifies what is expected? I'm interested by the undefined behavior you mention. While JavaScript clearly has some counterintuitive mechanics they are pretty much... deterministic. Could you share an example of what is undefined? I assume you mean "C/C++"-like "undefinedness".