News for hackers. Stuff that matters.
Re:Node.js - A Giant Step Backwards by moe on Friday August 05, 2011 @06:40AM (#2849647)
Excuse me, but that's what you call elegant?

From a readability standpoint I'll take the "old" version any day:

   function getFromDB(foo) {
      var result = asynchronousCache.get("id:3244");
      if ( null == result ) {
         result = asynchronousDB.query("SELECT * from something WHERE id = 3244");
      }
      return result;
   }

There are no comments on this comment yet.