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...

-7

u/[deleted] Mar 02 '19

Cause its "hipster cool". After all, its JS.

7

u/[deleted] Mar 02 '19

How on Earth does font ligature have anything to do with JavaScript in any imaginable way??????

-6

u/[deleted] Mar 02 '19

Font ligature per se? Nothing.

Font ligature in code? Everything.

3

u/uneditablepoly Mar 02 '19

Go on

-4

u/[deleted] Mar 02 '19

Why?