Quite a few years ago I landed a Delphi assignment to, among other things, develop a media injector application for a Swedish television broadcaster. It would be part of a much larger system, and its responsibility was to move different clips of mp4 files from one place to another according to a time schedule that … Continue reading The Factory
Tag: Delphi
A comment on comments
Which code is more readable? implementation uses // Delphi units SysUtils, Windows, Classes, // Libraries Lib.Utils, Lib.Settings, Lib.JSON, MainFormU, // Main form unit Settings; // Settings unit procedure TForm.OnButton1Click( ASender: TObject ); var Humpty: THumptyDumpty; begin // Set up a humpty dumpty class and execute it, passing it the personal id, name and what looking … Continue reading A comment on comments
Where’s the white space in the code
Writing code is much like writing a book. There is the intrigue, the story, the chapters and paragraphs. It's all there. But there's often one thing lacking in code that no self-respecting author of a book would ever do without; Readability. An author that want people to read his books has to - on top … Continue reading Where’s the white space in the code
Best thing about Delphi IDE I’ve learned all year
Thanks Primož Gabrijelčič (for the solution) and Tommi Prami (for the question) of the Delphi Developer Facebook group. I've got 20 years or more as a Delphi developer and I think from the first version I've asked myself the same question as Tommi Prami. Is there a way to sync changes you make in the method definition so they … Continue reading Best thing about Delphi IDE I’ve learned all year
Creating a styled Delphi FMX component the easy way
Recently I had the need to create a styled FMX Delphi component. I had thought about that earlier, as I'm quite skilled at creating VCL components. FMX components are quite another matter though, and the fact that you need to take the style definition into account had just made things cumbersome and a bit awkward, … Continue reading Creating a styled Delphi FMX component the easy way