Understanding software architecture anti-patterns
A clear understanding of classes, packages, and module composition can be seen as essential not only to the application itself, but, as we learned in Chapter 2, Discovering the Java Platform for Design Patterns, to the platform as well. Thanks to the dynamic translation of the bytecode that the JIT compiler processes, the Java platform collects essential information about its optimization. Poor code quality and software architecture can cause latency, improper memory usage, or crashes. Let’s understand the possible obstacles.
Golden hammer
One proven approach applied over a period of time without exploration of alternatives can easily turn into legacy code. The fact that it is difficult to accept other proposals or migration may be due to a particular set of approaches, otherwise known as the golden hammer anti-pattern, where developers believe that there is no need to investigate whether changes to something would be beneficial...