[fpc-pascal] Generic enumerators
Anthony Walter
sysrpl at gmail.com
Mon May 10 14:27:21 CEST 2010
Is the keyword "generic" really needed here:
type generic TEnumerator<TValue, TIterator> = class
- should be -
type TEnumerator<TValue, TIterator> = class
It looks completely unnecessary and I've never seen a situation in pascal
where anything but an identifier follows the keyword type. Whomever came up
with the idea was probably more interested in making the feature easy to
implement in the compiler rather than more natural for pascal programmers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100510/6ccc053a/attachment.html>
More information about the fpc-pascal
mailing list