Uwe Raabe
With the official release of Delphi 10.3.3 Rio comes a new version of Project Magician. This was necessary to support the new platforms introduced in the latest Rio updates. I also took the opportunity to… … Read more
5 years ago in Delphi, programming0
gabr42
CompareValue function is incredibly practical when you are writing comparers (functions that determine how some data structure is ordered). System.Math and System.StrUtils define a bunch of functions that can be used to compare integers, doubles,… … Read more
5 years ago in Delphi, programming, tips0
gabr42
Pop quiz! How can the following program …Writeln(True);Magic;Writeln(True);… output this:?TRUEFALSESimple!Read more »— Published under the Creative Commons Attribution 3.0 license … Read more
5 years ago in definitely not best practices, Delphi, programming0
gabr42
Delphi never stops surprising me …Did you know that this is a valid syntax?case a of 0: Writeln(0); else Writeln(‘else’); Writeln(a);end;This code indeed compiles and works exactly as the following fragment.case a of 0: Writeln(0); … … Read more
5 years ago in Delphi, programming0
gabr42
Earlier this week a long-time customer asked me why FastMM allocates large memory blocks from the top of the memory and if that option could safely be turned off. Their reasoning was that such allocations… … Read more
6 years ago in benchmarking, memory management, programming, windows0
gabr42
While writing Design Patterns with Delphi, I spent quite some time researching existing literature on design patterns implementation in Delphi, design patterns in other languages, other types of patterns, design principles and so on …In… … Read more
6 years ago in Books, Delphi, Design Patterns, programming0
gabr42
Hurrah, hurray, my third book is here! It’s called Hands-On Design Patterns with Delphi and (just like my first book) I wrote it for Packt Publishing. (The second book was self-published and I expect the… … Read more
6 years ago in Books, Delphi, Design Patterns, programming0
gabr42
Recently I was extending a swiss-army-knife helper record we are using at work and I noticed a small piece of suboptimal code. At first I let it be as I couldn’t think of a simple… … Read more
6 years ago in Delphi, generics, programming0
gabr42
Today I was porting some legacy code and noticed a weird warning:Weird warning, I thought. Obviously the loop variable can be passed as a var parameter as the code compiles. Why a warning and not… … Read more
6 years ago in definitely not best practices, Delphi, programming0
gabr42
When writing libraries you sometimes want to provide users (that is, programmers) with a flexible API. If a specific part of your library can be used in different ways, you may want to provide multiple… … Read more
6 years ago in Best practices, compiler, Delphi, language, operators, programming0
Serg
A *.dcp file is created when Delphi builds a package. It always bothered me that the default *.dcp file location does not take into account the build configuration. For example, the default location for Win32… … Read more
6 years ago in Delphi, programming, Uncategorized0
Serg
Why Delphi programmer needs Python at all? The main reason is: Python ecosystem is much bigger and much more active than Delphi ecosystem; there are many useful and actively developing projects in Python, much more… … Read more
6 years ago in Delphi, MkDocs, programming, Python, Uncategorized0
Serg
Yesterday I come across my old 32-bit Celeron laptop with 2Gb memory and broken battery and decided to install Linux on it. First I tried Centos 7.5, then Ubuntu 16.04, and finally settled down on… … Read more
7 years ago in installation, Lazarus, linux, Mint, programming, Uncategorized0
DavidI
The March 2017 Tiobe programming language index report is out. Delphi/Object is at number nine in the report. Swift enters the top ten for the first time. From the Tiobe index post: “This month Swift… … Read more
8 years ago in programming0