Vote UpVote

Flotsam and Jetsam #77

Nick Hodges – I was thinking about if statements the other day, and came up with this potential Rule of Thumb: “Every time you write an if statement, you should stop and consider whether you should be creating a new class instead.”  Thoughts? (Now, I’ve been around long enough to see how this might go.  Before commenting, note that I did not say “Every time you use an if statement, you should create a new class”.  I merely said that it is a point at which you should consider it…) I signed the Manifesto for Software Craftsmanship. I think you should, too. David I is quoted ...
Favorite? Off-Topic? nick@nickhodges.com @ 2013-02-06 22:43


Visits: 1023
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)