3 ms·
Is it even a useful feature? Will it lead to many JS bugs simply disappearing and applications getting more stable or will it just obfuscate bugs in the long r
by k__ 8y ago
Is it even a useful feature?
Will it lead to many JS bugs simply disappearing and applications getting more stable or will it just obfuscate bugs in the long run?
- realharo 8y agoPresumably people will only use it in situations where null (or undefined, or however it works) is a valid and expected value for a particular property. In TypeScript, these properties would explicitly have a `MyType|null` or `MyType|undefined` type.
- deleted 8y ago[deleted]
- spiritcat 8y agoRoughly speaking, one less place where we need to use lodash. "or will it just obfuscate bugs in the long run?" Probably. :shrug emojii: But more stable in the sense of turning hard crashes into UI quirks.