News for hackers. Stuff that matters.
Re:Code duplication is far cheaper than the wrong abstraction by mystifyingpoi on Sunday June 21, 2026 @03:11PM (#48621703)
I get the joke, but in ideal world, in microservices, there is no such thing as code duplication across services. As a maintainer of a service, I should not give a crap about code present in some other service - it's some other team's code, why would I care? I don't have to even know that the other team exists. In big systems, it happens that I can't even feasibly know the existence of all the applications.
Re:Code duplication is far cheaper than the wrong abstraction by cryo32 on Sunday June 21, 2026 @03:20PM (#48621764)
You mean you don’t have 300 versions of your badly developed rapidly evolving platform services rotting away underneath the bit you didn’t duplicate?
Re:Code duplication is far cheaper than the wrong abstraction by mystifyingpoi on Sunday June 21, 2026 @03:27PM (#48621814)
I don't. Other teams - maybe they do, maybe they don't. Who cares, not me. I have responsibility for services of my team, I think we are doing a good job.

Being selfish is the core principle of microservice architecture.

Re:Code duplication is far cheaper than the wrong abstraction by cryo32 on Sunday June 21, 2026 @03:32PM (#48621853)
Until half your company gets laid off and you have to adopt other people’s shit.
Re:Code duplication is far cheaper than the wrong abstraction by throwaway2037 on Sunday June 21, 2026 @08:56PM (#48624281)
In [an] ideal world, in monoliths, there is no such thing as code duplication across subsystems.