I really struggle with mixed-language source code.
In my current project for a German public-sector customer, the domain entities have to stay in German.
So we end up with code like this:
public interface SchulrolleReadRepository {
List
I find this horrible to read. 😅
And three of our developers do not even speak German.
I do understand the DDD argument. Some German domain terms simply do not translate well into English, and translating them can change their meaning.
We have a glossary and even tools that translate the source code without actually changing it. But we are running into limitations. Sometimes you need to understand the domain before you can even judge whether a translation makes sense.
Personally, I would prefer English source code. But I also see why the customer wants to keep the original terminology.
I am not really happy with our solution yet.
Has anyone found a good way to deal with this in international teams?
#Java #DDD #SoftwareDevelopment

Kommentieren und diskutieren können Sie direkt unter dem Beitrag auf LinkedIn.