3 ms·
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 kin
by FreeFull 7y 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).