DelphiTools – Now for a bit of hypothetical polling! thinking on the generics/templates syntax, one can’t quite shake the feeling Delphi got the C#/C++ generics/templates syntax. The < and > can’t be read out loud, and just look like an out of place reuse of the comparison symbols. Interestingly enough, Pascal had something of a generics syntax (if in a restricted case) with “array of”. I sometimes wonder how reusing that syntax would float, especially combined with some other enhancements f.i. instead : TQueue<T> = class var myQueue : TQueue<T>; myQueue := ...
Visits by Source
Users who voted for this posting
Jørn E. Angeltveit