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
4 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
4 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
4 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
4 years ago in ARC, Delphi, strings0
Dalija Prasnikar
Join Ian Barker, Marco Cantù, Alister Christie, Victory Fernandes (Vic), Dr. Holger Flick, David Millington and me at Windows VCL Panel. We will talk about the best Delphi core feature, you all know and love, VCL… … Read more
4 years ago in DelphiCon2020, vcl0
Dalija Prasnikar
This story begins with the FreeAndNil procedure, why its signature could not have a typed var parameter, why we can only pass variables declared as TObject to such procedures, and why the compiler refuses to… … Read more
4 years ago in Delphi, FreeAndNil, Parameters0
Dalija Prasnikar
Olivier Sannier answers that question in his posts about astigmatism and its impact on everyday software usage:https://www.linkedin.com/pulse/astigmatism-part-1-starry-effects-olivier-sannier/https://www.linkedin.com/pulse/astigmatism-part-2-blurry-eff… … Read more
4 years ago in accessibility, dark themes0
Dalija Prasnikar
Delphi 10.4 Sydney brings one small but rather significant change. A change in the signature of the FreeAndNil procedure fromprocedure FreeAndNil(var Obj); inline;toprocedure FreeAndNil(const [ref] Obj: TObject); inline;Wait, const means the variable i… … Read more
5 years ago in Delphi, FreeAndNil, memory management, sydney0
Dalija Prasnikar
Published with special permission from Embarcadero – this post writes about pre-release Delphi version where everything is subject to change until finally released. Nullables are a rather simple concept. All you need is a value,… … Read more
5 years ago in Custom Managed Records, Delphi, Nullable, sydney0
Dalija Prasnikar
Let’s say you have a nice, working Delphi application. One fine day, for no reason whatsoever, you decide to run your fine and bug free application with FastMM in full debug mode. Just for fun…… … Read more
5 years ago in Delphi, FastMM, memory management0