2 ms·
> Yes, it was complicated, but I think there is a benefit: it's very clear where certain functionality should live Off-topic, but your post reminds me of this
by ratww 7y ago
> Yes, it was complicated, but I think there is a benefit: it's very clear where certain functionality should live
Off-topic, but your post reminds me of this Michael Feathers article [1], where he argues that while programming languages have tools to support encapsulation, the don't really work, but the thing about microservices (or layers in this case) is that they actually force us to actually encapsulate our code.
[1] https://michaelfeathers.silvrback.com/microservices-and-the-failure-of-encapsulaton https://michaelfeathers.silvrback.com/microservices-and-the-...
- organsnyder 7y agoThat's a really good article—thanks for sharing it. I totally agree that forced encapsulation (ideally with tightly-governed contract-first APIs) is the most enticing selling point of microservices.