Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kaoD
on July 14, 2022
|
parent
|
context
|
favorite
| on:
Statements vs. Expressions
I wouldn't say that's abuse and I missed that many many times in JS/TS, for example on unreachable variants in tagged enums. This usually turns into null with a null check afterwards just to throw the exception, which is more verbose for no reason.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: