Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exactly, null is not evil it itself – the fact that it's not represented in type system is.

Type system where nullability can be expressed, you have refinement so you can map "null | T" to "T" with conditionals and sugar like optional chaining and nullish coalescing is all that's needed.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: