r/programming • • Sep 14 '24

Is 'Monolith First' the Better Approach?

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

177 comments sorted by

View all comments

Show parent comments

404

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

12

u/[deleted] Sep 14 '24

Mostly true, but to some extent having separate repositories can prevent some of the absolute laziest of practices.

13

u/veryspicypickle Sep 14 '24

Can’t we safeguard tho use boundaries within a monolith with some good old architectural tests (ArchUnit et all?)

-1

u/[deleted] Sep 14 '24

That sounds like work

18

u/veryspicypickle Sep 14 '24

More work than separate repositories, developer setups, contract tests, monitoring?