Responding to a few of these:

On Mon, Apr 4, 2011 at 12:33 PM, Axel Rauschmayer <[email protected]> wrote:
>
> - I think Python uses directories for namespace nesting, which has some pros 
> and cons compared to completely abstracting the file system structure.

It's necessary to completely abstract the file-system structure, since
one of the primary use cases doesn't have a file system -- the web.
We don't want to bring server-side assumptions to the web.

> Renaming:
> - I find this syntax slightly unintuitive: import Geometry.{draw: drawShape}
>  At first glance this would mean for me: rename drawShape to draw. "draw" 
> feels to me like the result of the import.

This is based on the destructuring syntax, where this:

let {draw: drawShape} = ... some expression ...;

also binds the identifier |drawShape|.

> - Possible alternative: import Geometry.{draw <- drawShape} (maybe a colon is 
> not a good choice here)

We want to keep this as close as possible to other syntactic
constructs in the language.
-- 
sam th
[email protected]
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to