Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
siddboots
5 months ago
|
parent
|
context
|
favorite
| on:
Crimes with Python's Pattern Matching (2022)
Can you explain why? Genuinely curious as a lover of case/match. My only complaint is that it is not general enough.
kurtis_reed
5 months ago
[–]
Double indentation
maleldil
5 months ago
|
parent
[–]
So? Other languages with pattern match similarly have such double indentation. C-style switch with unintended cases is weird.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: