Y
Hacker News
new
|
ask
|
show
|
jobs
by
damnyou
2294 days ago
The distinction you describe is not meaningful, but the key feature that separates classes from other forms of code organization/polymorphism, like typeclasses as in Haskell/Rust, is not that. It is inheritance.