brendan at mozilla.com
Sat May 21 10:46:38 PDT 2011
On May 21, 2011, at 10:32 AM, Peter Michaux wrote:
> That is not what I wrote at all because I didn't write the "it could be better".
It could be shorter.
> wrote that C# delegates were not popular in C# 2.0. Functions are
Because there's no alternative. C# had alternatives including classes.
Saying JS has function expressions that are wildly popular is jumping to a conclusion. JS is "popular" in that it's the only built-in browser language, but let's say it is popular on its own these days (NodeJS, e.g.).
It still does not follow that function expressions are popular enough that shorter syntax would not make the language more usable for enough developers that shorter syntax is worth adding.
> On Sat, May 21, 2011 at 10:25 AM, Alex Russell <alex at dojotoolkit.org> wrote:
>> I'm sorry, this this argument is entirely circular:
>> - we have something that works
>> - it could be better
>> - but it works, so we don't need anything better
>> On May 21, 2011, at 10:08 AM, Peter Michaux wrote:
>>> On Thu, May 19, 2011 at 12:44 PM, Nathan Stott <nrstott at gmail.com> wrote:
>>>> Having worked a lot with C#, my experience was that very very few
>>>> people used the C# 2.0 delegate syntax and now a large portion of the
>>>> community learned and uses the C# 3.0 syntax. Syntax matters.
>>> their syntax. Function expressions are already wildly popular in
>> Alex Russell
>> slightlyoff at google.com
>> slightlyoff at chromium.org
>> alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss