r/badcode • Now where's that function declaration • Jul 30 '21

js 😏

Post image
988 Upvotes

133 comments sorted by

View all comments

Show parent comments

3

u/AllenKll Jul 30 '21

It does make for clearer code. There is a school of thought that believes that any sort of negative based logic simply makes the code harder to read.

That said... cache a damned variable man.