Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
barmic12
1mo ago
0 comments
Share
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.
undefined | Better HN
0 comments
default
newest
oldest
vips7L
1mo ago
Correctness is more important than runtime costs.
LelouBil
1mo ago
In languages like kotlin and rust you can have a type encapsulation like this that does not exist at runtime
j
/
k
navigate · click thread line to collapse