Tag: Clean Code

Flotsam and Jetsam #116

The Starter Version of Delphi is currently 100% off.  I.e.  Free as in beer. “The proper use of comments is to compensate for our failure to express ourselves in code.” – Uncle Bob Martin I continue working hard on my materials for Delphi Developer Days.  If you haven’t signed up yet, do it.  I’m really…

Read the full article

On the Use and Acceptance of nil

Yesterday I made the following tweet: Never pass nil to a method, and don’t let your methods accept nil as a parameter value. — Nick Hodges (@NickHodges) January 19, 2015 and it started and interesting little discussion on Twitter.  (I was actually honored that the great Mark Seemann himself entered into the fray…) Naturally, the…

Read the full article

Command/Query Separation

Introduction An important step to writing Clean Code is the notion of separating “commands” and “queries” by using the Command Query Separation Principle.  The notion was first discussed by Bertrand Meyer in his book Object Oriented Software Construction.  This means that the idea is not new.  In its basic form, it means we should separate the…

Read the full article