News for hackers. Stuff that matters.
Re:Applying NASA coding standards to JavaScript by siscia on Thursday January 08, 2015 @09:41AM (#8856522)
I agree that if we apply rule 9 to JS we would end up with something extremely different.

However don't use first-class functions in my opinion it would means to not pass function around, in anything.

So no callback and no a lot of nice "trick" that JS use (and I really enjoy.)

I don't think that JS can live with rule 9.

Re:Applying NASA coding standards to JavaScript by PixelsCommander on Thursday January 08, 2015 @10:05AM (#8856645)
Yep, applying this restriction on functions is something I would avoid to suggest as they are a cornerstone of modern JS development.

However another part of rule seems to be something to consider.

Re:Applying NASA coding standards to JavaScript by debacle on Thursday January 08, 2015 @10:19AM (#8856719)
There's a reason, though, that people call it "callback hell." Many people are irresponsible with first-class functions.