7
votes
Vote UpVote

Pascalish-looking generics poll

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 := ...
Favorite? Off-Topic? Eric @ 2012-11-21 12:10

Statistics

Visits: 845
Votes: 7
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Ericc
Francis Ruiz
Jan Derk
Jørn E. Angeltveit
Uli Gerhardt
Wouter
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)