Scoped binding of a method to an object

Andreas Rossberg rossberg at google.com
Tue Oct 15 02:50:25 PDT 2013


On 14 October 2013 22:10, Benjamin (Inglor) Gruenbaum <inglor at gmail.com> wrote:
>> But there were design issues too. ... user confusion or complexity remains
>> an objection.
>
> Yes! This is the thing that bothers me most right now about scoped extension
> methods. Introducing additional syntax to the language seems like a _huge_
> objection to me, the fact that it's another thing to teach programmers and
> another thing to keep in mind when figuring out scopes when reading new code
> is a big deal in my opinion.

Arguably, the _syntactic_ complexity is not huge. It is almost benign,
compared to the _semantic_ complexity.

/Andreas


More information about the es-discuss mailing list