DEV Community

Discussion on: Learning the Granular Details of a Programming Language?

Collapse
 
frankrobert profile image
Frank Robert

I'd argue that it's important to be aware of them. Or learn these details as you encounter them (and don't forget them). I remember I had a chart at work that wasn't displaying correctly. Turns out there was a divide by 0 returning Infinity. Easy fix, right? Until you find out that it's still broken because -0 results in -Infinity. One of those "oh right!" moments that you don't forget.

Collapse
 
robertcoopercode profile image
Robert Cooper

Haha, love the example of a problem you've faced with one of these rarely encountered parts of the JS language.