Yes, I know this article title is a huge moment of trolling for most Delphi
object could be legend... - wait for it - ... dary!
You perhaps already noticed by several blog posts
here that I still like the good old (and deprecated)
type, in addition to the common heap-allocated
record with methods does not match the object-oriented
object, since it does not feature inheritance.
When you take a look at modern strongly-typed languages, targeting concurrent programming (you know, multi-thread/multi-core execution), you will see that the objects may be allocated in several ways, to facilitate execution flow.
The Rust language for instance is pretty interesting. It has optional task-local Garbage Collection and safe pointer types with region analysis.
To some extent, it is very similar to what
object allows in the
Delphi world, and why I'm still using/loving it!