Professional Documents
Culture Documents
Quiz Time: Write A Program To Calculate The Area of A Circle. (User Will Input The Radius)
Quiz Time: Write A Program To Calculate The Area of A Circle. (User Will Input The Radius)
Simplicity
Readability
Modularity
Layering
Design
Efficiency
Elegance
Clarity
So, when your code smells,
change it
What? How would my code
smells? Are you crazy?
Code Smell
Inappropriate naming
Unnecessary
Unnecessary Comments
Dead code
Duplicate code
Large method
Large class etc
Inappropriate Naming
Dead code is that code which is executed but not used from
anywhere in the code.
Don't drive your code reviewers crazy !!!
Don't waste your application's cycle time because it slows
down the execution time
Make your code valuable
Ok. I get it. These are the
smells. But how do i remove
these smells from my code?
These now start stinking me
!!!!
Not today. May be in next
week.
Foysal
Programmer
The Databizsoftware Limited
26th May, 2010