|
|
|
|
|
by FreeFull
2295 days ago
|
|
You can go with more of a Haskell/Rust style approach, where you declare a type, and then define operations using either plain functions, or using something kinda similar an interface (typeclasses in Haskell, traits in Rust). |
|