Y
Hacker News
new
|
ask
|
show
|
jobs
by
chowells
1990 days ago
You can't use interfaces to prevent inserting values of the wrong types into a set. When you view the purpose of types as preventing bugs, that seems like a giant missing feature.