Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
barmic12
4 months ago
|
parent
|
context
|
favorite
| on:
Parse, Don't Validate (2019)
one issue is it’s not a type alias but a type encapsulation. This have a cost at runtime, it’s not like in some functionnals languages a non cost abstraction.
vips7L
4 months ago
|
next
[–]
Correctness is more important than runtime costs.
LelouBil
4 months ago
|
prev
[–]
In languages like kotlin and rust you can have a type encapsulation like this that does not exist at runtime
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: