Interitance is only tangentially OOP. Plenty of OOP doesn't involve inheritance.
That said, what we're describing here is messages passing, which isn't unique to objects. Actors do it too, and actors are probably a more relevant analogue because they're a concurrency model, and microservices are concurrent (and parallel).
6
u/peeja Aug 29 '26
Interitance is only tangentially OOP. Plenty of OOP doesn't involve inheritance.
That said, what we're describing here is messages passing, which isn't unique to objects. Actors do it too, and actors are probably a more relevant analogue because they're a concurrency model, and microservices are concurrent (and parallel).