Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cwalv
on May 15, 2022
|
parent
|
context
|
favorite
| on:
Java record pattern matching in JDK 19
I used to find the workaround pretty jarring:
lfoo = nonlocal_foo if isinstance(lfoo, ...):
Since the checker is correct in these cases, I accepted the ugly and got used to it pretty quickly
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: