Entries by nickhodges@gmail.com

Flotsam and Jetsam #89

A little while ago, I wrote an article on VSoft’s command line arguments library.  Since then, I’ve discovered a couple of other solutions that might be of interest.  First is from John Kaster, TCommandParser, which has an EDN article (it’s mentioned in there, don’t worry) and a CodeCentral entry.  Primož Gabrijelčič has created one that […]

Flotsam and Jetsam #88

The inestimable Malcolm Groves has a nice series going on the new Delphi Parallel Library.  Recommended reading. I put a tag cloud over there on the left.  Now I just have to remember to put tags on all my posts. I welcome feedback on the new blog.  As I said, my goal is to keep […]

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 […]

Obey Postel’s Law in Your Code

Jon Postel was a guy that wrote an early specification for the Transmission Control Protocol (TCP), one of the core protocols of the Internet protocol suite.  You use it every day to surf the web, send emails, etc.  One of the guiding principles that he used when writing it was this: Be conservative in what […]

Flotsam and Jetsam #87

Yet again, I’d like to thank all of you who have bought my book or received it as an upgrade incentive.  Once again I’ll say that the book has been more successful than I ever imagined.  So successful, in fact, that I’m going to work on another one along the same lines.   By that I […]

Flotsam and Jetsam #86

Delphi XE7 Update 1 is available.  Nice. The release notes have the link to where you can get it. I’d like to thank the great staff at EKON 18 for a great conference and a great trip.  It was fun (despite the fact that I lost my phone and felt like a lost puppy without […]

Testing My New Code Formatter

I am using the Crayon Code Highlighter.  Let’s see how it works:

Looks pretty good I think.