[2524] in java-interest

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

Re: switch is too limiting

daemon@ATHENA.MIT.EDU (Jean-Jacques Moreau)
Wed Oct 4 01:35:55 1995

From: "Jean-Jacques Moreau" <jjm@hplb.hpl.hp.com>
Date: Tue, 3 Oct 1995 12:43:42 +0000
In-Reply-To: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
        "Re: switch is too limiting" (Oct  2, 10:07)
To: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff), lemayp@lne.com
Cc: java-interest@java.Eng.Sun.COM

On Oct 2, 10:07, Arthur van Hoff wrote:
> > switch (alignment) {
> >     case "left" : {
> >       // code to align stuff left
> >     }
> >     case "right" : {
> >       // code to align stuff right
> >     }
> >     case "center" : {
> >       // code to align stuff center
> >     }
> > }
> > 
> > Maybe in 2.0?
> 
> I've always wanted that feature too. I'll see if we can get it
> added in Java 2.0.

Eiffel originally thought it could do without that feature. It ended up being 
added by popular request...

Jean-Jacques Moreau.

-- 
  Hewlett-Packard Laboratories       http://www-uk.hpl.hp.com/people/jjm/ 
  Filton Road, Stoke Gifford                         jjm@hplb.hpl.hp.com 
  Bristol BS12 6QZ, UK                                tel +44 117-9228764 
-
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