Becoming a Delphi Language Ninja

In this chapter, we will cover the following recipes:

  • Fun with anonymous methods—using higher-order functions
  • Writing enumerable types
  • Using enumerable types to create new language features
  • RTTI to the rescue—configuring your class at runtime
  • Duck typing using RTTI
  • BOs validation using RTTI attributes
  • Creating helpers for your classes