News for hackers. Stuff that matters.
Re:Node.js - A giant step backwards? by robfig on Wednesday January 25, 2012 @07:26PM (#3512386)
Rarely use ifs?

What do you do if you want to see if, e.g. there are any results for the user's query?

I would do

if (results.length > 0)

or something

There are no comments on this comment yet.