Skip to content

C# 2.0’s ‘yield return’ Looks Like InterBase’s SUSPEND

Marc Rohloff pointed out that the new iterator feature of C# 2.0 (yield return) looks a lot like SUSPEND in the InterBase stored proc and trigger language. I agree.

{ 2 } Comments

  1. Rudy Velthuis | July 28, 2004 at 6:57 am | Permalink

    And <code>SUSPEND</code> looks a lot like <a href="http://www.cs.arizona.edu/icon/"&gt;Icon&lt;/a&gt;’s <code>suspend</code>. In Icon, iterators are called generators, but the principle is quite the same.

  2. Nick Parker | July 28, 2004 at 10:23 am | Permalink

    Also similar to NT Fiber’s or coroutines.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Bad Behavior has blocked 1846 access attempts in the last 7 days.

Close