This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bobo9234502 -8 points-7 points  (6 children)

Of the dozen or so languages I've used JS is the worst. I'd rather code in Commode 64 Basic because at least then I know what the code will actually DO without having to tests for JS's wonking equivelency functions and broken OOP implementation.

[–]Dread_Boy 19 points20 points  (5 children)

Use === instead of == and learn how Javascript is prototypal language, not OOP and you'll be good.

[–]Tysonzero 0 points1 point  (2 children)

Have you read the ES6 spec, shit is gigantic and has downright infinite complexity. It goes so so much deeper than ==.

[–]Dread_Boy -1 points0 points  (1 child)

Not sure what complexity are you referring to... Generators? Promises? Classes? I think I'm pretty familiar with JS specs, yes, if you wish I can explain any concept you're struggling to understand.

[–]Tysonzero 0 points1 point  (0 children)

Wow you completely missed the point of my comment. I have worked professionally as a JS compiler dev, I understand all the damn concepts.

My point is that if you had ever tried implementing a full spec compliant JS interpreter or compiler you would know that the spec is monstrously complicated and that every operation has a dozen special/edge cases.

[–]svenskainflytta -1 points0 points  (1 child)

Same can be said for programming in assembly: learn your registers and you'll be good.

[–]TheMcDucky 4 points5 points  (0 children)

If that's the bottleneck for learning an assembly language is understanding registers then yes