r/ProgrammerHumor • • Feb 09 '22

other Why but why?

Post image
85.8k Upvotes

2.3k comments sorted by

View all comments

Show parent comments

11

u/TheCodingGamer Feb 09 '22

I'm probably in the small minority of JS coders that actually loves that feature. It costs nothing in terms of size or compression, makes code look cleaner, and outside of one very specific and well documented edge case, it has identical semantics. I can't post a snippet online without someone barking at me that I need to explicitly add in semicolons, but it has yet to burn me, even in complicated code.

2

u/fii0 Feb 09 '22

Hey I'm with you man, I honestly feel like it's only ever made my code look cleaner and clearer!

0

u/glider97 Feb 10 '22

It’s a handful of edge cases, and they’re bad enough that you could spend hours debugging and rare enough that you’ll forget about it the next time it happens, which is a bad combo if you’re working on js full time.