News for hackers. Stuff that matters.

joeblow99

"loophole" is a word for "a completely legal tax maneuver I don't like"
Re:Airbnb JavaScript Style Guide on Friday July 03, 2015 @01:12AM (#9823634)
Use const for all of your references; avoid using var. If you must mutate references, use let instead of var.

In my 15 years of programming javascript I've never once seen this matter.

Re:Airbnb JavaScript Style Guide on Friday July 03, 2015 @01:07AM (#9823619)
// bad const items = new Array();

// good const items = [];

They obviously spent a lot of time on this guide, lots of investor dollars, and it's of almost no use.

Re:Airbnb JavaScript Style Guide on Friday July 03, 2015 @01:06AM (#9823615)
// bad const item = new Object();

// good const item = {};

Literally useless differentiation.

Re:The technology behind Nextdoor on Thursday July 02, 2015 @06:57PM (#9822294)
some kind of queuing as well