Use case for std.bind

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Feb 24 11:34:18 PST 2009


Yigal Chripun wrote:
> Andrei Alexandrescu Wrote:
>> I'd agree that generally there's a strong bias in this group for adding 
>> to the language. Every itsy-bitsy issue comes around, there are a dozen 
>> cute syntaxes invented for it right on the spot. And then once every few 
>> months, there's the inevitable huge thread "Where did my simple language 
>> go???" :o)
> 
> I disagree with this notion. there are requests to add new *useful* features but there are also requests to remove unneeded features, latest was the discussion of the implicit concatenation of string literals. There was a thread not long ago listing the features most people want to remove - foreach_reverse comes to mind.  
> that how evolution works - you add new useful stuff and remove old unneeded baggage.  both are equally important. 

There's a much stronger bias to add than remove, and IMHO adding to the 
language for currying is just unnecessary. I'll venture the thought that 
  for those who don't use the language often enough it's not easy to 
envision how something could be implemented within it, and inventing a 
new specialized feature for the problem at hand comes very easily.


Andrei



More information about the Digitalmars-d mailing list