Code design, or software design, is often thought of as a disjoint step in the development process of an application. A set of UML diagrams is the most common way to document designs. However, they will quickly become obsolete once the code has been written. There are differences between the implementation and the design, and those differences are not synced back to the design documents. The effort of keeping design documents up-to-date is considerable because there are always changes in the requirements. It feels like a battle that we keep losing.
So, should we do code design? Is it really necessary? Because we have the data models now, why don't we just start writing the code and get features implemented? We can refactor our code later, anyway. This sounds more Agile.
There is an old saying in China, Grinding a chopper...