java Programming Glossary: dry
Why main method in Java always needs arguments? http://stackoverflow.com/questions/10783190/why-main-method-in-java-always-needs-arguments language the question is moot. Cleanness of design aka the DRY principle . Don't specify two entry point signatures when one..
Java Constructor Inheritance http://stackoverflow.com/questions/1644317/java-constructor-inheritance serviceA serviceB serviceC This code is repetitive not DRY and useless IMHO ... so that brings the question again Why java..
Enum values().length vs private field http://stackoverflow.com/questions/1741708/enum-values-length-vs-private-field all the values will have been initialized. This avoids the DRY and inconsistency concerns raised in other answers. Of course..
Java Interfaces/Implementation naming convention [duplicate] http://stackoverflow.com/questions/2814805/java-interfaces-implementation-naming-convention silly prefix suffix naming conventions all violate the DRY principal as well. Also if you find yourself adding DTO JDO..
AOP or APT for overriding methods from super classes http://stackoverflow.com/questions/3652463/aop-or-apt-for-overriding-methods-from-super-classes class path. This part works nicely. Now I am also a fan of DRY and I would like to use the same annotation to actually inject..
Java EE Architecture - Are DAO's still recommended when using an ORM like JPA 2? http://stackoverflow.com/questions/3818589/java-ee-architecture-are-daos-still-recommended-when-using-an-orm-like-jpa-2 at shielding it behind a DAO . I find the DAO to be anti DRY in such situation. So for simple cases actually most cases I..
Client-side templating language with java compiler as well (DRY templating) http://stackoverflow.com/questions/6831718/client-side-templating-language-with-java-compiler-as-well-dry-templating side templating language with java compiler as well DRY templating I want to be able to define templates once and use.. html from both the server side as well as the client side. DRY principle and all that The API that I'm envisioning is simply.. by the Twitter guys http twitter.github.com hogan.js 100 DRY even the client side mixins and i18N bundles come from the same..
How to define a JUnit method rule in a test suite? http://stackoverflow.com/questions/7639353/how-to-define-a-junit-method-rule-in-a-test-suite themselves but this is repetitive and does not seem very DRY. Is it possible to define a per test method rule in the suite..
|