Dalija Prasnikar
In the previous article, we learned that native Delphi serialization is based around published properties, and that other kinds of serialization, like field-based serialization, don’t fit well with the Delphi model. Photo: Gary Todd from… … Read more
4 years ago in Delphi, Serialization0
Dalija Prasnikar
Join me this Thursday, Apr 22, 2021 5:00 PM – 6:00 PM CEST for a live Q/A session about Delphi memory management. See you! Register for webinar:https://register.gotowebinar.com/register/474961949731996432Book information:https://dalija.prasnikar.i… … Read more
4 years ago in Delphi, memory management, Webinar0
Dalija Prasnikar
While different OOP languages share some common principles and many coding patterns will be the same or at least fairly similar, there are also some significant differences that can make some commonly used patterns from… … Read more
5 years ago in Delphi, Serialization0
Dalija Prasnikar
This is a continuation of a previous blog post, Are const parameters dangerous?Basically, adding an out parameter into the mix does not change anything that has been said in the previous post about using const… … Read more
5 years ago in Delphi0
Dalija Prasnikar
“Embarcadero Technologies – Conversation with Dalija Prasnikar, Embarcadero MVP, on covering her new book on Delphi Event-based and Asynchronous Programming.” Book intro by Neven Prasnikar Jr. and a recording of live Q&A chat hosted by Jim… … Read more
5 years ago in Asynchronous programming, Delphi, Webinar0
Dalija Prasnikar
Running long tasks in a background thread to keep the UI responsive is one of the main purposes of multithreading. A common code pattern for doing so would look like:procedure TMainForm.BtnClick(Sender: TObject);begin TThread.CreateAnonymousThread( … … Read more
5 years ago in Delphi, multithreading, synchronize0
Dalija Prasnikar
Manual memory management requires some thought and ceremony. It is not so much of a problem with long-lasting instances, but managing temporary local objects, especially when you need to create more than one, is a… … Read more
5 years ago in ARC, Delphi, memory management0
Dalija Prasnikar
If there is one thing experience has taught me, it is that too much complexityin some code usually means that design is wrong. That does not mean thateverything must and can be as simple as… … Read more
5 years ago 0
Dalija Prasnikar
A little birdie once told me that having code examples from my book in a friendlier form would be highly appreciated. Of course I heard the friendly chirp So here it is!The full list of code… … Read more
5 years ago in book, Delphi, github0
Dalija Prasnikar
Marco Cantu’s recent blog post The Case of Delphi Const String Parametersopened a can of worms.A very, very old can…The presented behavior is not something new, and it is certainly not a compiler bug. It… … Read more
5 years ago in ARC, Delphi, strings0