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

I think he was talking about the "case" control structure. Or maybe I should just go to sleep... In any case, "case" returns a value, doesn't need breaks and doesn't need to be the same type. That's awesome.


Given that the switch-case construct doesn't exist at all in Python, I'm pretty sure he was talking about character case.




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

Search: