Re:Applying NASA coding standards to JavaScript
by adestefan on Thursday January 08, 2015 @10:51AM
(#8856884)
Once again this has more to do with the idea that everything must be deterministic. Using a pointer when it's not absolutely needed is just one more place where a non-deterministic runtime issue can crop up.
Re:Applying NASA coding standards to JavaScript
by PixelsCommander on Thursday January 08, 2015 @09:49AM
(#8856571)
This is the missing thing, will add. Thanks guys!
My feeling is that Rule 9 roughly maps to following the Law of Demeter in that you shouldn't chase properties down more than one level, e.g.
Good:
Bad: