Immensely insightful answer on “syntax – Is C++ context-free or context-sensitive?” at Stack Overflow
Posted by jpluimers on 2013/01/30
Thanks Warren Postma for this Google Plus mention: both the question and answer are incredibly insightful.
And indeed: the code from the answer is not possible in with Generics Delphi (:
–jeroen
via: syntax – Is C++ context-free or context-sensitive? – Stack Overflow.






ObjectMethodology.com said
The question really is do you want it to be possible in Delphi? How many bad coding practices would be introduced if the Delphi language was able to express any construct in any manner?
Shouldn’t the question be… “Can I do this with Delphi in a way I’m already familiar with? If not, what way is used in Delphi to do what I’m trying to accomplish?” If there is *no* way of doing what you want then, and only then, should you worry about adding a language change or extension.
jpluimers said
To clear things up: I don’t need this feature in Delphi, and I don’t know any other Delphi programmer that has the need.