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

"nil pointers" is a tradeoff for you?

Block scoping, too?



It's possible to never have nil pointer dereferences. But the tradeoff is constructors and some complicated scoping.

Block scoping is confusing for many people coming from the dynamic languages where scoping is usually function level.




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

Search: