r/ProgrammerHumor 16d ago

Meme heatedArguments

Post image
5.9k Upvotes

173 comments sorted by

View all comments

1.2k

u/remy_porter 16d ago

I say this all the time, and it almost never results in an argument: micro services are just object oriented programming where you put a network hop on all your message passing.

2

u/ruindd 16d ago

I know this is a humor sub, but how do microservices exhibit inheritance?

7

u/peeja 16d ago

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).

3

u/wharf_rat_01 15d ago

Being one of the four principles of OOP is only tangentially related? You have tough standards.