A billing module everybody agrees should be separate, a team of four, and 88 classes that reference it. The boundary, drawn in code rather than in conversation.
The codebase had it in about 60% of files, which is the worst of the three possible states because nobody can tell which behaviour applies where. The seven…
The domain layer talked about a consignment, the database called it a shipment, and both terms appeared in the same conversation with different meanings. Renaming the table was…
A class named OrderFactory whose only method mapped one flat structure onto another flat structure with different field names. The name mattered more than it should have: three…
A Shared namespace created for three value objects, containing 140 classes four years later. A shared kernel needs an admission rule or it becomes the place things go…
utf8_encode converts from ISO-8859-1 specifically, which is almost never the encoding the input was actually in. The double-encoding it produces is the single most common source of mojibake…