Dalija Prasnikar
Productivity is a highly subjective topic. What makes one person productive might not work for another. However, that doesn’t mean that sharing your own experience is not useful for other people. If some of the… – Details…
4 months ago in Productivity, programming0
Dalija Prasnikar
In the TCoffeeAndCode session about “Code Profiling, Optimization, Performance, and Memory Leaks”, it has been mentioned that generics are slow. However, no specific details were given, and this topic deserves to be explained in more… – Details…
8 months ago in Delphi, generics, Optimization0
Dalija Prasnikar
Virtual methods enable subtype polymorphism – in other words, they allow implementing different behavior in descendant classes.That means if you have a base TShape class with a virtual Paint method, and several descendant classes like… – Details…
10 months ago in Delphi, Virtual, vmt0
Dalija Prasnikar
The “When in Rome, do as the Romans do” blog post series used serialization as an example of what happens when applying inappropriate coding patterns for some language. It demonstrated how field-based serialization does not… – Details…
11 months ago in Serialization0
Dalija Prasnikar
In Delphi, properties can be backed by simple fields, but they can also have getter and setter functions that can be vital to the proper functioning of a class. They can contain additional initialization code,… – Details…
12 months ago in Delphi, Serialization0
Dalija Prasnikar
Did you miss the TCoffeeAndCode session on “All about threading and concurrency”? The webinar replay is now available! Hosted by Jim McKeeth and his guests: Frank Lauter, Primož Gabrijelčič, Olaf Monien, Kelver Merlotti and Dalija Prasnikar.&… – Details…
1 year ago 0
Dalija Prasnikar
In case you missed the live session, webinar replay Mastering Delphi Memory Management where I am answering your questions about memory management is available on YouTube. Book intro by Neven Prasnikar Jr. followed by a recording… – Details…
1 year ago in book, Delphi, memory management, Webinar0
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… – Details…
1 year 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… – Details…
1 year 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… – Details…
1 year 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… – Details…
1 year 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… – Details…
1 year 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( … – Details…
1 year 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… – Details…
1 year ago in ARC, Delphi, memory management0