Vivek Agarwal’s Portal/Java Blog

An IBM Gold Consultant’s weblog about IBM, Lotus, WebSphere, J2EE, IT Processes, and other IT technologies

Posts Tagged ‘Java Developer Interview’

Want to test your object-oriented coding skills? Check out this code smelling exercise …

Posted by Vivek Agarwal on June 21, 2008

Sometime back, I wrote on Bad Smells in Code that were defined as – “A code smell identifies classic mistakes made in developing code. These mistakes typically result in code that is difficult to understand, maintain, debug, and extend.” In my previous blog entry, I captured some code smells that are commonly found in code written by new (and some experienced) programmers. Sample smells include “duplicated code”, “long method”, “inappropriate intimacy”, “large classes”, “inconsistent names”, and others. I had promised to be back later with my “code smelling exercise” that I used during my presentation to make my points about code smells. Well here it is … Read the rest of this entry »

Posted in Java | Tagged: , , , , , , , , , | Comments Off on Want to test your object-oriented coding skills? Check out this code smelling exercise …