2 ms·
JS is full of fun facts, like that ++ is different than +=1, or that ToInteger may return negative zero. Better naming can't justify these head-scratchers. As
by ridiculous_fish 8y ago
JS is full of fun facts, like that ++ is different than +=1, or that ToInteger may return negative zero.
Better naming can't justify these head-scratchers. As an implementor all you can do is write a loud! comment! referencing the spec, and add a test or two or a million.
Anything that implements a spec needs copious comments to justify the implementation. clang for example is chock-full of references to the C99 standard.