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
6 years ago in Delphi, programming0
gabr42
Slides and code for the Spring4D conference are now published on the conference page.Slides and code for my two sessions – Design patterns with Spring4D and Interception and dynamic proxy – are also available on… … Read more
6 years ago in Delphi, presentations, Spring4D0
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
Dear reader,You probably know that I write books. A big part of making a book, however, is not just writing it, but letting all the potential readers out there know that the book exists. I’m… … Read more
6 years ago in Books0
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
Hurry up, you only have five (5) days left to get a Spring4D European Conference ticket at the regular price!It’s gonna be a blast! Stefan will be there, of course (can you imagine Spring 4D without… … Read more
6 years ago in Conferences, Delphi, Spring4D0
gabr42
Slovenian company BASS is looking for a Delphi developer (on-site in Celje, Slovenia). (I’m not affiliated with them; they just asked me to spread a word around. If you have any questions, contact them directly.)—… … Read more
6 years ago in Delphi, job0
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
New OmniThreadLibrary is out! Get it while it’s hot!Version 3.07.7 is mostly a bugfix release. It fixes a stupid mistake introduced in version 3.07.6 plus some other minor bugs.You can get it now on git,… … Read more
6 years ago in Delphi, multithreading, OmniThreadLibrary, Open Source0
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
On December, 6th I’ll be showing all that is new and shiny in 10.3 Rio to anyone that happens to pass by!Join me in Ljubljana at 9:30 in the “standard” venue … just don’t forget… … Read more
6 years ago in cbuilder, Delphi, presentations, RAD Studio0
gabr42
Hear, hear, new OmniThreadLibrary is here!Version 3.07.6 brings official support for Delphi 10.3 Rio, few changes and bugfixes.You can get it now on git, download the ZIP archive, install it with Delphinus or with GetIt.For… … Read more
6 years ago in Delphi, multithreading, OmniThreadLibrary, Open Source0
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