jpluimers
Two small Delphi tricks: On out parameters When you have out parameters, and the caller passes local variables for them, remember that: the compiler then will not issue an “unitialised variable” warning any more because it… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
[WayBack] Is this code safe? function Some(const Str : AnsiString); var arr : TBytes absolute Str; begin fSomeMethodWithTBytesParam(arr); <- arr is properly c… – Jacek Laskowski – Google+ Such a seemingly simple question: Is this… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Every now and then I see people “overriding” a function by introducing a function with the same name. Often this raises a lot of confusion, because the override will only work if you have the… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Easiest way to find which message # (decimal or hexadecimal) belongs to which message and vice versa: [WayBack] List Of Windows Messages – WineHQ Wiki. [WayBack] List of windows messages with their description WM_ –… … Read more
4 years ago in C++, Delphi, Development, Software Development0
jpluimers
Multi-threading is hard, knowing your primitives is important, but Embarcadero documentation is always far from complete, leading to [WayBack] System.SyncObjs.TLightweightSemaphore.Create: Please simply explain to me the parameters of this constructor, especially first, AInitialCount… – Jacek… … Read more
4 years ago in Delphi, Development, Multi-Threading / Concurrency, Software Development0
jpluimers
I really dislike using regular expressions, mainly because every time I bump into code using them either: I cannot decipher them any more It is used for things not suites for (like parsing JSON or… … Read more
4 years ago in Delphi, Development, RegEx, Software Development0
jpluimers
A great reference on how not to code still is How To Write Unmaintainable Code Ensure a job for life 😉 Roedy Green Canadian Mind Products I am still amazed when browsing through code, how many… … Read more
4 years ago in .NET, Delphi, Development, Software Development0
jpluimers
In the comments of [WayBack] Delphi and JSON Is there an overlay (eg in the form of a helper) for the JSON classes built into Delphi (System.JSON), which offered an interface simil… – Jacek Laskowski… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Reminder to self: remember which of the open source libraries have: a generic TProc<T> alike with an const values: array of const T parameter a generic TProc<T> alike with a const value: T parameter Google returned none that stuck:… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
For my link archive: [WayBack] .net – interface inheriting multiple interfaces: how is this handled by a C# compiler? – Stack Overflow. [WayBack] New Delphi language feature: Multiple inheritance for interfaces in Delphi for .NET…. … Read more
4 years ago in .NET, C++, Delphi, Development, Software Development0