If you happen to create your own annotations, for instance to use with Java 6 Pluggable Annotation Processors, here are some patterns that I collected over time. Nothing new, nothing fancy, just putting everything into one place, with some proposed names.
Continue Reading »
Tags: annotation, configuration, convention, default, dependencies, design, pattern, syntax, tool, trick, xml
Posted in General, Patterns, Programming • Comments Off
Patterns represent a couple (intent, solution); sometime they refer to a solution, more often they essentially represents an intent, independently of its solution. Sometimes the solution part of patterns includes a trick or a workaround to overcome the limits of a language, but patterns cannot be reduced to that trick. Indeed, a very important role [...]
Continue Reading »
Tags: convention, dependencies, design, intent, language, pattern, patternity, Programming
Posted in Patternity, Patterns, Programming • Comments Off
The Self-Descriptiveness pattern can save your life many times in the course of any software project. The power behind it is to harness the computer, rather than yourself. What is Self-Descriptiveness? Self-Descriptiveness is a property of any system that is able to describe itself with no external help. Just ask it « describe yourself » and it [...]
Continue Reading »
Tags: analysis, convention, guideline, principle, Programming
Posted in Patterns, Programming • Comments Off
Economy is the management of limited resources. In software development the limited resources (*) are: memory of the developer: names of types, methods signatures, tricks to know time available to learn or discover new things Therefore, every design decision should attempt to reach an optimal balance between both memory and time being consumed in the [...]
Continue Reading »
Tags: convention, design, management, methodology
Posted in Programming • Comments Off
What do you think about when you hear the word « architecture » about software? Fowler defines it: whoNeedsArchitect « In most successful software projects, the expert developers working on that project have a shared understanding of the design system design. This shared understanding is called ‘architecture.’ ». However for most people the word « architecture » comes full of middleware [...]
Continue Reading »
Tags: architecture, convention, design, domain, management, methodology, refactoring, syntax, tool, unittest
Posted in Programming • Comments Off
With Object-Oriented programming we often have many classes, therefore it is really important to name them well. It’s amazing how I can spend so much time searching for good names for classes, and I do think it is worth doing it well, after all naming is all about making the code easy to read and [...]
Continue Reading »
Tags: convention, java, language
Posted in Programming • Comments Off