Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
paavohtl
· 4y ago · 0 comments
If you are using TypeScript (which you should), undefined is not inherently any more dangerous or unpredictable than any other form of encoding missing values.
Comments
[–]
otabdeveloper4
4y ago
TypeScript is better than JavaScript, yes. But still it doesn't guarantee anything at runtime.