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

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

Centralise Your TVirtualImageLists - #246

In this video, you will learn a clever hack to be able to centralise a single TVirtualImageList, rather than having one in each form. That is, if you have some sort of single form interface, e.g. MDI or Tabbed interface, where forms and frames are embedded into a single main form.

Data Execution Prevention - #245

Discover the ins and outs of Data Execution Prevention (DEP) in this informative Delphi video. Learn what DEP is, how it protects your system, and how to disable it when necessary.

Multi-Line Strings make SQL Easier - #244

If you are using a TStringList to build your queries in Delphi, then you need to watch this video. Add to this named parameters and HeidiSQL, and you can 10x your workflow.  Watch here.

SQLite Type Headaches - #243

SQLite is an extremely powerful database, but it is not without its source of headaches. One is its limited typing, which is particularly noticeable when you have calculated fields. Fortunately, FireDAC in Delphi has two solutions to this.  Find out what they are here.