February 9, 2010

Name your objects right

Whenever you create an object you have to find a meaningful name. While renaming later in modern IDE’s is no problem at all you should not pick the first name which comes to your mind. Imagine you have an external fraud detection web service and it will return a ‘hit’ or ‘miss’. How do you name this object? HitOrMiss maybe (since this is the representation you get from the webservice) ? ... Read more

© 2009-2017 Oliver Wehrens Impressum