shotgun surgery
The Code Smells are similar in concept to Development-level Anti-patterns. Sometimes in our code, we introduce code smell unintentionally those makes our design fragile.
Definition of Code smell
Code smell, also known as a bad smell,...
Home » All posts
Code Smell and Shotgun Surgery
in
anti pattern,
antipattern,
bad code,
code smell,
design pattern,
java refactor,
refactoring code,
shotgun,
Shotgun Surgery
- on September 13, 2016
- No comments
The hidden contract between equals and compareTo
in
java,
java interview
- on September 09, 2016
- No comments
Contract breaking
We know we use equals for check two objects are meaningfully equal or not, on other hand by comparable interface we compare two objects. But Has there is any relation between them?
Or we have to maintain contract between them?...
Automated webservice code generation using FreeMarker
in
java,
java interview
- on September 05, 2016
- No comments

Soap Web-service template
Sometimes we need to generate, template source code upon which developer do the modifications.
It will save a lot of time for developers. Without Automated generation of source code developers needs to create source...