Skip to content

Intentional Delphi

Adventures in the act of coding

Menu
  • Blog
  • Books
  • About
Menu

Author: admin

The Joy of Sets

Posted on March 1, 2025March 1, 2025 by admin

One of the great features of Object Pascal is the inclusion of sets in the language.Other languages have added libraries in support of sets, but Pascal remains unique in having always supported them. Sets are often useful in combination with enumerations. Used together, they provide a very readable approach to handling things such as user…

Read more

Times Change; We Must, Too

Posted on September 14, 2024September 14, 2024 by admin

It is odd that as we look forward to new tools, like the just released RAD Studio 12.2 Athens, we may overlook our own practices which hobble the tools. The case at hand is configuring a VM for Athens, and for that matter, for Alexandria. I am embarrassed to say that my VM configuration for…

Read more

RAD Studio 12.2 is Released!

Posted on September 14, 2024September 14, 2024 by admin

This week saw the release of RAD Studio Athens 12.2. It is a big update, with many great features, as well as having received many bug fixes. My focus continues to be Windows desktop applications, so I will not do more than mention that there is much in the new release for those who work…

Read more

The Simple Things…

Posted on May 13, 2024May 13, 2024 by admin

I recently opened up an interesting piece of software from a github repository. I will leave it unnamed, as it serves as the trigger for this article, and demonstrates some poor practices I have often seen in legacy projects. You might think that the assignment of types to variables and parameters would be a simple…

Read more

Programming to an Interface

Posted on April 18, 2024April 18, 2024 by admin

Nick Hodges has made “program to the interface, not the implementation” a mantra for good practice. And I completely agree. My focus continues to be on legacy projects, as most of my work lies in that area. As much as I love Delphi 12 Athens, I spend the majority of my time in Delphi 2007,…

Read more

Strategy for Global Variables

Posted on February 24, 2024February 24, 2024 by admin

Global variables are generally considered to be bad. This is especially the case where state variables are concerned. However, as my focus has been, and continues to be, on legacy projects, global variables are a reality to be managed. Maintaining a project which has many global variables is a challenge. Depending on the names which…

Read more

Delphi 12 in Our Future!

Posted on September 25, 2023September 25, 2023 by admin

This blog post is based on a pre-release version of the RAD Studio software and it has been written with specific permission by Embarcadero. No feature is committed until the product GA release. There are many improvements coming in Delphi 12, as we are seeing in the Yukon beta. String Literals String literals in Delphi…

Read more

Why Comments

Posted on August 11, 2023August 11, 2023 by admin

Discussions about commenting code can be surprisingly heated. Some will say that good code should explain itself, and needs no comments. Others will insist on the need for comments without actually approaching any discussion of how to distinguish good from bad comments. Bad comments are easy enough to recognize. Many simply repeat in plain language…

Read more

Keep it Small

Posted on March 7, 2023March 7, 2023 by admin

Small is good. Small is simple. We should strive to keep things small in our development work. Keep routines short and simple. Use as few local variables as possible. Avoid long parameter lists. Keep scope as narrow as possible. If you find yourself challenged by these things, it suggests the need for practice and thought….

Read more

YAGNI: Is it Absolute?

Posted on January 31, 2023January 31, 2023 by admin

YAGNI – You Ain’t Gonna Need It – is a useful principle in software development and rework. But should it be a hard rule? I will argue that it should be a guide, not a rule. But also, that the context is a major factor in determining which view should apply. The first and obvious…

Read more
  • 1
  • 2
  • 3
  • Next
  • Delphi Legacy Projects
  • New! PDF available below
  • Delphi Legacy Projects (PDF)
  • Upgrading and Maintaining Delphi Legacy Projects
MVP Directory

© 2025 Intentional Delphi | Powered by Minimalist Blog WordPress Theme