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

I almost had to learn it once for flags, but Go has iota and constants and Java has enums, and stuffing flags into an integer and storing that in Postgres or Redis would have made the problem arguably worse. Just used a Set.


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

Search: