Tag Archives: Design Patterns
The requestor pattern: avoid looping twice
In my quest for making every piece of code testable, I run across the requestor pattern. You won’t find it doing a Google search. I first saw it in many places in JDT‘s source code. The idea is separating an extraction of information (a processor) from it’s actual processing (a requestor). For example, JDT has … more
Posted in Blogs
Tagged Design Patterns
Java tips learnt from Eclipse
Here are some Java tips for making your code more beautiful, understandable, reliable and maintable. They are in no particular order. Suppose your code will be read by somebody else. Even if you are working on a project on your own, it’s worth commenting properly your code, using interfaces and trying to make your code … more
Posted in Blogs
Tagged Design Patterns, Eclipse, Programming