Saturday, June 01, 2019

The Post JavaScript Apocalypse - Douglas Crockford

From person who "discovered" JSON and "good parts" of JavaScript

The Post JavaScript Apocalypse - Douglas Crockford - YouTube



Tab vs Space => can not remove Space, so Tab has to go, not adding value :)

Single Quote vs Double Quote => keep Double Quote, single quote is used as apostrophe

"let" vs "var" keyword => keep "let", var is confusing people; const is even better

"stop using IE" :)  "IE does not spark joy"

"null" vs "undefined" => get rid of "null"
null could be defined as immutable empty object in ES6: const null = Object.freeze(Object.create);


link from: .NET Rocks! vNext

No comments: