Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eipipuz
on Aug 27, 2010
|
parent
|
context
|
favorite
| on:
What's better about Ruby than Python? - comp.lang....
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.
regularfry
on Aug 27, 2010
[–]
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: