[1092] in java-interest

home help back first fref pref prev next nref lref last post

Re: Type names and class names ..

daemon@ATHENA.MIT.EDU (Michael Lorton)
Fri Aug 18 15:04:19 1995

Date: Fri, 18 Aug 1995 08:43:14 -0700
From: Michael Lorton <mlorton@eshop.com>
To: java-interest@java.sun.com
In-Reply-To: Mimir Reynisson's message of Thu, 17 Aug 1995 22:02:35 +0000 (WET) <199508172202.WAA19514@brs.is>


> Yuck .. the following java code compiles quite happily under the
> Windows NT alpha 2 version. Please tell me this is only because of
> the hand coded parser, and that this really shouldn't be allowed.
> 
> {
>     int Object;
>     Object = 0;
>     Object a;
>     a = null;
> }

Well, I'm not expert but it looks to me like it has nothing to do with the
parser; it's that class names and variable names are in the same name space.

This seems like it would lead to terrible ambiguities.

> Mimir Reynisson : skelmir@brs.is

Where is "is"?

M.  (in US)
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post