code smell
Getters/Setters Revisited - Validation of Order Class
Submitted by Tomek Kaczanowski on Wed, 01/13/2010 - 22:58This is a continuation of the post devoted to some code smells that was vigorously commented in favour of ugly, anti-OO code design :). Thanks God, I also got an interesting question regarding this problem.
Seems to me, that this topic should be discussed one more time.
How Programming Books Promote Code Smells
Submitted by Tomek Kaczanowski on Tue, 01/05/2010 - 20:50This rant is dedicated to code examples (found in books) that promote bad programming habits. Some of them can be counted among famous code smells.
...for God's sake, books should be educational in every aspect !
getters and setters is all I need
Submitted by Tomek Kaczanowski on Sun, 10/07/2007 - 15:21Yes, I have a grudge against hibernate. Yes, hibernate. Oh, it's a great ORM, I use it a lot, it's really ok. But... but if an inexperienced programmer learns from hibernate-style classes then the get/set trouble comes.