Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

You can enumerate constants. There is syntax to implicitly assign the integer values, just use iota as a value.


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

Search: