On Sun, Nov 30, 2008 at 4:17 PM, Chris Double <[EMAIL PROTECTED]> wrote:
> I don't really like this. Creating objects is common and I think
> escaping things with \ should be rare.

I agree.

> Why not just make it an error to define a word with the same name as a
> class and vice versa?

Because sometimes its useful to have both. For example, there is a
curry class, and the curry word creates an instance.

> Isn't that already the case with words, being an
> error to define the same word twice?

Yes. The situation is similar to Common Lisp; there are two
namespaces, one for definitions and one for classes; a word can have
at most one of each.

Slava

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to