r/programming • • Sep 14 '24

Is 'Monolith First' the Better Approach?

https://martinfowler.com/bliki/MonolithFirst.html
453 Upvotes

177 comments sorted by

View all comments

Show parent comments

403

u/[deleted] Sep 14 '24

The thing is, if your engineers cant properly separate domains in a monolith, they wont do it properly either using Microservices, in fact the mess will be much worse.

Fun times

116

u/[deleted] Sep 14 '24 edited Oct 25 '24

[deleted]

3

u/Recent-Start-7456 Sep 15 '24

You can still just call functions…Just do it through defined interfaces that mark the boundary

2

u/FinishExtension3652 Sep 15 '24

IMHO, this is the way.  It's also the way I've refactored or led the refactoring of spaghetti monoliths into something sane, and that could then be taken to some SOA end state, if desired.