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

Honestly I’ve always separated the two in my brain but never really thought about it. Nil = 0 or the absence of a quantity, null = the absence of any value at all.


What do you think of Go's nil vs Java's null?




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

Search: