- You start to use terms like "potentially", "in future" or "scalable".
- You spend more time thinking of "encapsulation", "abstraction" and "decoupling", than the actual problem.
- You believe, that the with amount of frameworks, libraries, and languages (better polyglot projects), the qualitity of the software will improve.
- You are able to replace every single concept, class and layer - but this feature actually cannot be derived from the client's requirements.
- Just looking at the code - you do not understand what happens - you need addtional tools, products and consultants :-) to understand it.
- You hate monolithic structures - so everything is configurable, replacable - of course at runtime. If it becomes too complex, go to point 5.
- You start to implement a generator to tackle the complexity.
- Your configuration file is getting slightly bigger, than your code.
- Your interface is so fluent, that only domain experts understand the code :-)
The problem with patterns, best practices and idioms is the overuse of a single principle. Regardless what you are considering: overuse of DRY can lead to "fat" layers and classes, overuse of Separation Of Concerns to many fine grained units, overuse of modularization to jar, plugin or just governance hell. Common sense and the balance between concepts and idioms are the solution- but it's hard to find in real world :-).
[I expanded the thoughts above in the book "Real World Java EE Patterns"]
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.