Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, that is probably the way to go. But you know how it is... I got sucked down a rabbit-hole while trying to figure out the best enum representation in Python.



FOO, BAR =range(2) if you're assuming python knowledge


Wow, that's a pretty good one. Thank you!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: