For-in Enumeration

The “For in” style of enumeration in Delphi was introduced in Delphi 2005. The idea is to make enumeration over a collection of things easier and cleaner by removing the need for the iterator variable, removing the code for indexing and removing the code for boundary checking.… Continue reading ›

Three Dimensional FireMonkey Component Design

FireMonkey provides access to three dimensional object creation and manipulation. While it is fun to build complex objects by connecting together the supplied primitives  (Rectangle, Cone, Sphere, etc.) this could get very tedious so I want to explore creating more complex objects directly in code.… Continue reading ›

Dances with XML

XML. It seems that most developers either love it or hate it. However you feel about it, XML is wide-spread enough that every Delphi developer is likely to reckon with it some time during their career.… Continue reading ›

Nested Type Enumerations

Over the last couple of years, I have been making more use of nested types to organise how my code (behaviour) is organised in an application.  If some application behaviour (encapsulated in class A) is part of a broader behaviour (encapsulated in class B), then I will at least consider nesting class A within class B.… Continue reading ›