2 ms·
Nice to see somebody else use a railway analogy. I like to use railways to describe why interfaces and encapsulation are important engineering principles. The t
by cup-of-tea 8y ago
Nice to see somebody else use a railway analogy. I like to use railways to describe why interfaces and encapsulation are important engineering principles. The track gauge is the interface between the people that build the railway and the people that build the trains. As long as they both implement the interface then together they get something much greater than the sum of its parts.
- xenomachina 8y agoAnother place a railway analogy is used in CS is railroad diagrams for representing context-free grammars: https://en.wikipedia.org/wiki/Syntax_diagram https://en.wikipedia.org/wiki/Syntax_diagram