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

Your example perfectly illustrates oversimplification: attempt to stuff categorical variable into another of lower order. If a language has absence of value available as an expressible concept (nullability), then a list is at least 3-way categorical variable: absence of value, empty list, non-empty list. Any attempts to stuff that into a binary truthy value will eventually leak one way or another.


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

Search: