|
|
|
|
|
by Spivak
2265 days ago
|
|
I think it's a pretty syntax idea but it means continue works opposite your intuition inside switch statements compared to everywhere else. I mean you could kinda argue that switch could conceptually mean something like for matcher, block in cases:
if matcher.matches(subject) or continued:
eval block
but then continue still feels magic since it bypasses the test. |
|