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

Of all the recent changes, default values is my favorite. Aside from generally useful and further reducing the need for initialisation boilerplate, I lets us guarantee valid state at compile time for things like enums - and, I assume, object variants?


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

Search: