Entries by nickhodges@gmail.com

Never Assume Your Paths Have Ending Delimiters

I think I’ve mentioned that I have a “challenging” codebase that I deal with in my day job.  It’s a classic Delphi legacy app, worked on by numerous different people over the years with multiple different styles and techniques. Part of the product includes the use of an Address Engine – a third-party utility that […]

Flotsam and Jetsam #90

I mentioned this video before, but it is so good I’m going to mention it again:  Parallel Programming Library: Create Responsive Object Pascal Apps.   Danny’s blog is in Dutch, but he has an English entry that includes the source code to his session. Something I’m surprised by:  The number of questions on the Delphi StackOverflow […]

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.