Holger Flick
Delphi 11.3 has been released today on 2/27/2023! It’s time to have a look at it at How it Works with Holger LIVE! Also, I will be introducing Generics and how you can use them… – Details…
3 months ago in Delphi, English, generics, MVP, vcl, Video0
zarkogajic
Say you have an array of integer values, for example, pages of a document or years when something happened, like years when new Delphi version was released: If you would want to display the above… – Details…
11 months ago in algorithms, Arrays, Delphi, generics0
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…
2 years ago in Delphi, generics, Optimization0
Olaf Monien
Due to an interesting code example, behind which Kim Madsen first suspected a possible bug in the Delphi compiler, I took a closer look at the calling behavior of overloaded methods that also contain generic… – Details…
2 years ago in Allgemein, Delphi, generics0
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… – Details…
4 years ago in Delphi, generics, programming0
Unknown
They say Generics and pointers don’t mix. type PMyThing<T> = ^TMyThing<T> // [DCC Error] E2508 type parameters not allowed on this type TMyThing<T> = record Thing: T; end;Ok, they don’t. But there is a loophole!type… – Details…
12 years ago in Delphi, generics, pointers0
Unknown
From the wishful thinking department, I would love to be able tovar Src: TSomeClass; MyObject : TBoundObject<Boolean>;begin MyObject.Bind(Src, CompilerMagic(TSomeClass.SomeBooleanProperty));end;instead ofvar Src: TSomeClass; MyObject : T… – Details…
12 years ago in bind, Delphi, generics, Wishlist0
Unknown
I wish this was a solution post, but it is a frustration post. I trying to figure out how I can use Ord() to convert an enumerated type to integer or cast an integer to… – Details…
12 years ago in Delphi, Enumerated types, generics0
rlove
The recording of the Generics and Anonymous Methods Session is now available. Thank you to Phil Gilmore for taking the time to present this topic! View Now Online (Progressive Download) Direct Download (MP4) Code and… – Details…
13 years ago in anonymous methods, generics, Recordings, Tips & Tricks0