The Artima Developer Community
Sponsored Link

Python Buzz Forum
C# iterators

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Hans Nowak

Posts: 1114
Nickname: roodbaard
Registered: Jun, 2003

Hans Nowak is a Dutch Python addict who currently resides in Florida.
C# iterators Posted: Nov 10, 2004 8:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Hans Nowak.
Original Post: C# iterators
Feed Title: Efectos Especiales
Feed URL: http://www.zephyrfalcon.org/weblog2/rss.xml
Feed Description: Ramblings, rants, musings, ideas and observations. Topics include (but are not limited to): programming (especially Python), books, games (especially CCGs and board games), astrology, design, writing, painting, etc.
Latest Python Buzz Posts
Latest Python Buzz Posts by Hans Nowak
Latest Posts From Efectos Especiales

Advertisement
The Daily Python-URL notices the article For Each++ Iterators in C#, describing Python-like iterators (well, as far as that sort of thing goes in C#). That reminds me of something Guido wrote a while ago: It was nice enough to compare the yield statements in Python and C# (they are very similar, even though C# quotes CLU as the origin rather than Python :-), but for me the high point of the evening was Miguel de Icaza's excitement over Python's feature which makes text files iterators yielding the lines of the file in succession, so that you can write for line in open(filename): ...process line... ... [145 words]

Read: C# iterators

Topic: Productivity Previous Topic   Next Topic Topic: Those were the days

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use