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

> If you have pointers, they sometimes have to start the life uninitialized (i.e. with a value of 0) hence nil pointers.

Why do your variables have to start life uninitialized?

> Why aren't people doing that? Because it comes at a cost. [...]

Not a runtime cost, though. This can be handled purely by the typesystem at compile time.



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

Search: