3 ms·
> Several modern languages, techniques and protocols address this in varying degrees and from different angles. Examples? (Asking as a curious beginner who doe
by kaycebasques 5y ago
> Several modern languages, techniques and protocols address this in varying degrees and from different angles.
Examples? (Asking as a curious beginner who doesn't know where to start.)
- dgb23 5y agoGo‘s implicit interfaces, Rust‘s traits, Clojure‘s sequences, transducers, multimethods and spec, Julia‘s multiple dispatch, HTTP REST, JSON and json-schema. These are all attempts to enable generic, simple code over complex data structures, while respecting and incorporating extensibility and change. It’s an old idea but I think more importance is given to it in more recent years.