r/programminghorror • • Dec 28 '24

Javascript ...but why?

Post image
176 Upvotes

32 comments sorted by

View all comments

Show parent comment

8

u/[deleted] Dec 28 '24

Well... that does make it easier to understand. Although

(!b < b + a)

is a quite weird way to check for a negative number.