Fun with enumerators
Boy, was this an interesting trip. For the last six days I was writing a series of articles on Delphi enumerators, one day each. In some way, this was very similar to something else I like to do - writing magazine articles on computer-related topics. So similar that I planned this series exactly as I'm planning an article. In some other way, it was also very different. Later posts I adapted based on feedback from earlier ones. For example, Part 6 was not included in the original article outline. This topic came to my mind while I was reading reader comments. In a way, it was like working with a very eager editor who is checking every chapter immediately I'm finished with it. Or, if you want, it was similar to pair programming. In a way, writing this series was more like writing a book. If that's so, I have something more to write - a table of contents. It will help new readers to read whole series or just find the part they are interested in. So without further ado, here is the Table of Contents
Part 2 - Additional enumerators
Part 3 - Parameterized enumerators
Part 5 - Class helper enumerators
Make sure you'll also read comments to those posts - some quite interesting ideas are hidden there. [If you liked my articles, feel free to tell others about them. Thanks!] Updated 2007-11-13Hallvard Vassbotn posted interesting observations on enumerator performance in More fun with Enumerators. Allen Bauer found a new use of the enumerator pattern in Stupid Enumerator Tricks - And now for something completely different. Labels: Delphi, enumerators |
1 Comments:
I've added some more info on writing *efficient* enumerators here:
http://hallvards.blogspot.com/2007/10/more-fun-with-enumerators.html
:)
Post a Comment
Links to this post:
Create a Link
<< Home