r/javascript • • Mar 02 '19

Useful javascript one-liners.

https://medium.com/@smellycode/js-one-liners-8bc0a6af2345?source=friends_link&sk=a9295a05aef9e514e137fca7eeb89cd1
344 Upvotes

96 comments sorted by

View all comments

43

u/Shaper_pmp Mar 02 '19

Why on earth would anyone use a font for programming that runs characters together and makes it difficult or impossible to determine whether something is a double- or triple-equals?

With a language like JS that's just asking for trouble...

1

u/ghillerd Mar 02 '19

It's actually not at all difficult to tell the difference between a == and a === in firacode. I bet of you ran a test of someone who's used it for a day, and asked them to glance at code and tell you if it used double or triple they'd have a 100% success rate.