Tag Archives: overloading

Don’t Suffer Poor Names

You know the problem: you write a method for one purpose and give it a name.  Later, it become useful for something else, or maybe you change it slightly to accommodate another use, or maybe some names change elsewhere making the current name obsolete.  You have all seen code where someone says that the name “is historical” or traditional.  This post is to say with conviction that that history is NOT interesting, and get rid of it.  Get a good IDE and change those names to be correct. Read the rest of this entry »

Leave a comment

Posted by on February 12, 2013 in Coding


Tags: , , , ,

#16 Avoid Overloading Methods

One of the things that programmers learn with object oriented programming is that you can overload methods. That is, have the same method with differing parameters.  This can be convenient sometimes, but most of the time, it is an exceedingly bad idea. Read the rest of this entry »

Leave a comment

Posted by on October 25, 2011 in Coding