dwyl / goodparts

:see_no_evil: An ESLint Style that only allows JavaScript the Good Parts (and "Better Parts") in your code.
GNU General Public License v2.0
78 stars 26 forks source link

null or undefined? #14

Open nelsonic opened 8 years ago

nelsonic commented 8 years ago

should we setting values to null or undefined ?

Why DC no longer uses null: http://bdadam.com/blog/video-douglas-crockford-about-the-new-good-parts.html

can we reduce typing and just use zero e.g: return callback(0, result); ? (I don't know, I'm asking!) of should we stop using falsiness https://developer.mozilla.org/en-US/docs/Glossary/Falsy ...? what should we be doing?

jruts commented 8 years ago

https://dzone.com/articles/the-worst-mistake-of-computer-science-1