News for hackers. Stuff that matters.
Re:AngularJS Performance in Large Applications by mackraken on Friday December 12, 2014 @03:23PM (#8742474)
uh... re Loops: "Try and avoid making calls in a loop." This is an over simplification. The author draws the wrong conclusion from the example given:

    for(var x = 0; x < 100; x++){
      var keys = Object.keys(obj); 
      sum = sum + keys[x]; 
    }
The problem here is needlessly invoking the same operation 100 times (Object.keys).
Re:AngularJS Performance in Large Applications by collyw on Monday December 15, 2014 @05:14AM (#8751312)
I assume he was just explaining it badly.