Steve Yegge's rant on The Next Big Language

Bill Baxter dnewsgroup at billbaxter.com
Wed Feb 14 21:14:53 PST 2007


Julio César Carrascal Urquijo wrote:
> BCS wrote:
>> To pick at a few:
>> Does any language do interators for user type as language features? 
>> You have to write them your self in every language I know of. In D, 
>> all the types you can get without a lib can be iterated over without a 
>> lib.
> 
> In C# you have a yield keyword that creates an Enumerable class for you:
> 
> class List {
>     IEnumerator getEnumerator() {
>         for (int i = 0; i < 100; ++i)
>             yield return InnerList[i];
>     }
> }
> 
> 
>> And I'll admit that the mult return is a bit of a stretch.
> 
> Actually, tuples are one of my favorite language features on both Python 
> and Erlang.
> 
> 
>> But *I* don't care if things come from a lib or from a feature, just 
>> how well they get the job done. And I would never use a language that 
>> doesn't need libs. It would be WAY to big.
> 
> Agree
> 
>> But that's all just my opinion. Really my point is that for the most 
>> part D, in one form or another, has most of the things mentioned .
> 
> Agree, but I think that Steve Yegge was actually referring to a future 
> version of ECMAScript.


Right -- so it's DMDScript and not D he was talking about.  :-)

--bb



More information about the Digitalmars-d-announce mailing list