Hacker News new | ask | show | jobs
by awolf 1827 days ago
One patten I've seen to address this is to define a "plugin architecture" where disparate components are integrated into the main system via fixed "sockets". The sockets themselves are generic as is the glue code that attaches plugin and socket.

This does create a lot of boiler plate, but that boiler plate is predictable and uninteresting, and a good candidate for code generation.

1 comments

So it's kind of like oop code with traits and interfaces?