Hacker News new | ask | show | jobs
by bndw 1865 days ago
In my experience, I've found the lack of polymorphism to be the larger challenge in building complex business systems in Go.

Managing a bunch of polymorphic entities in Go often requires implementing a bunch of interfaces in various types. You then have to write a bunch of mapping logic for every type, driven by type assertions. Apply this in a large codebase that encapsulates transport, data access, and so on and you end up with a ton of complexity.