Tag: Delphi

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

Flotsam and Jetsam #92

We have a vibrant .Net community here in the Eastern Pennsylvania/Philadelphia area.  Philly.Net runs events once or twice a month at the Microsoft campus, and semi-annual Code Camps that are usually attended by well over 700 people.  I attend whenever I can.  But I’ve noticed something interesting over the last year or two:  almost all…

Read the full article

More Coding in Delphi

First of all, I want to once again thank all of you who have purchased, read, or otherwise supported my book Coding in Delphi.  I’ve said it before and I’ll say it again  — the response has been overwhelming and humbling.  The book has been more successful than I could have ever hoped for. It’s…

Read the full article

Flotsam and Jetsam #91

It’s #Code2014 time again! Time to tweet out what languages you used for the year.  Just list your languages and include the hashtag `#code2014`, and they’ll do the rest.  Of course, you can include Delphi all you want.  I won’t mind. Looks like Ray Konopka will be replacing Dr. Bob this coming year for Delphi…

Read the full article

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…

Read the full article

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…

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