Code Faster in Delphi Book

This book will make you a faster Delphi developer, it doesn't matter if you are just starting out, or have been using Delphi since version 1, you will find all sorts of tips, tricks and hacks to boost your productivity.

Slide
Mega Pack Video Bundle
Get The Complete Video Series

Buy big and save bigger, Megapack is the complete premium video content (over 34 hours) at one low price.

Code Better in Delphi Book

Make your Delphi code better by reading this book! You will find numerous tips, tricks, techniques and tools to enhance and improve code. How does your code stack up? Are you writing code that will be usable for years, or are you heading towards a dystopian maintenance apocalypse?

previous arrow
next arrow

New in Delphi 13 - NameOf - #256

New in Delphi 13 is the NameOf function. It gives you the string representation of the name of a variable that you pass into it. I'm not totally sure if I'll ever use this, but it might be important to someone.  Watch here.

New in Delphi 13 - 'not in' and 'is not' - #255

We get two new logic operators in Delphi 13. These will allow some code to be expressed in a slightly cleaner form and closer to the English language. Hopefully, making code easier to read and maintain.  Watch here.

Ternary Operator - New in Delphi 13 - #254

Ternary operators have been added to many languages, and now we get them in Delphi in the form of an in-line if statement. I think this will be a useful language feature, but I'm unsure how frequently I'll use it.  Watch here.

In Memory SQLite Database - #253

SQLite is a great database choice for Delphi applications, and in this video, I demonstrate how easy it is to create an in-memory-only database and perform queries against it

Did you know about this about functions and procedures? - #252

In this short video, I have a quick question about functions, procedures and methods - and the answer might surprise you.

Unlock the Secrets of Executables with Detect-It-Easy (DiE) - #251

Curious about what’s inside your EXE files? This video gives you a quick overview of Detect-It-Easy (DiE)—a lightweight, cross-platform tool that helps identify compilers, packers, and basic file metadata at a glance. In my case, I need to determine what language (Delphi or C++ Builder) and version of the compiler were used for a large number of executables.

Super Simple Logger - #250

Logging can be the difference between guessing and knowing.

When your application encounters an error, the proper logging framework can quickly guide you to the root of the issue, but not all frameworks are created equal. In this video, we explore one of the simplest, most effective logging solutions you can drop into your project with minimal fuss.

Whether you're building in Delphi or another language, this lightweight technique could save you hours of debugging.  Watch this video.

Save a String to a File - #249

There are many ways you can save a string to a file. In this video, we examine eight different approaches, not all of which are equal. Find out my favourite method, and some ways you can break things if you are not aware of Unicode.

Brackets Bad - #247

I find that if I can avoid using an excessive amount of brackets, then my code is a bit easier to read. Watch this video to learn how to utilise class helpers and improve the maintainability of your code.

When You Don't Have Multi-Line Strings - #248

In a previous video, we explored how to create a fantastic workflow by using multi-line strings for your SQL statements. Multi-line strings were introduced in Delphi 12. If you're using an older version, here are a few tips to achieve similar results