Hacker News new | ask | show | jobs
by tored 1275 days ago
Inherited one project where the previous developer enjoyed writing if cases like this

    if (article > 0)
confusing early on becuase you would start thinking this is a beginning of arithmetic comparison of numbers when it actually was just a check if the article existed or not.