News for hackers. Stuff that matters.
Re:Glue: The Dark Matter of Software by dgb23 on Sunday June 13, 2021 @09:13AM (#27492300)
I think it’s interfaces and protocols at a granular level.

If every interface is bespoke while also being explicitly described top down, then we end up with this quadratic complexity.

Uniform, extensible interfaces and generic data structures are the solutions to this, as well as shifting complexity to data and away from code. Several modern languages, techniques and protocols address this in varying degrees and from different angles. An old language that does this very well is SQL.

Re:Glue: The Dark Matter of Software by kaycebasques on Sunday June 13, 2021 @09:40AM (#27492489)
> 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.)

Re:Glue: The Dark Matter of Software by dgb23 on Sunday June 13, 2021 @10:33AM (#27492967)
Go‘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.