On Aug 7, 2013, at 11:22 PM, José F. Romaniello <[email protected]> wrote:
> "Generators first appeared in CLU (1975),[4] were a prominent feature in the 
> string manipulation language Icon (1977) and are now available 
> inPython,[5]C#,[6]Ruby and other languages. In CLU and C#, generators are 
> callediterators, and in Ruby, enumerators."
> 
> http://en.wikipedia.org/wiki/Generator_(computer_programming)
> 
> 2013-1975/10=decades
> 

José, thank you for the response and clarifications. In the context of this 
discussion (the familiarity of the mass of programmers with coding correctly 
using ‘yield’) I would discount Icon, CLU (that’s a new one to me!), which 
resets the start date to the 90s, even late 90s (depending on the rise of 
Python/Ruby and the introduction of generators in these languages). At any 
rate, I myself certainly have no hard data on what percentage of developers are 
comfortable with this feature, and would be happy to learn that that number is 
high counter to my intuition.

Regards,

        —ravi



> At this point even c# has yield since version 2, exactly 8 years ago and I 
> have seen used for  coroutines/async
> 
> http://devlicio.us/blogs/rob_eisenberg/archive/2010/08/21/caliburn-micro-soup-to-nuts-part-5-iresult-and-coroutines.aspx
> El 07/08/2013 23:38, "// ravi" <[email protected]> escribió:
> On Aug 7, 2013, at 9:39 AM, José F. Romaniello <[email protected]> wrote:
> > Move on this is a SOLVED PROBLEM, we have had this thing in many 
> > programming languages for decades and any mediocre software developer know 
> > what yield means at the middle of a function.
> >
> 
> While I do not think accidental misuse is a compelling reason to not add a 
> language feature, I am curious about the above claim. There haven’t been many 
> languages that have been around for “decades” which is not to get pedantic, 
> but to raise the question: what similar behaviour (as generators/yield) 
> exists in C, C++, Perl, PHP, etc? (perhaps Lisp?). The existence of many fine 
> async modules and methodologies betrays the fact that even async (which has 
> been around for decades) is full of pitfalls for all but the most cautious 
> programmer.
> 
> Regards,
> 
>         —ravi
> 
> 
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> ---
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> -- 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to