Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25824
| From | Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Why “new”? |
| Followup-To | comp.lang.java.programmer |
| Date | 2011-02-05 19:29 +1300 |
| Organization | Geek Central |
| Message-ID | <iiiqnu$ev4$1@lust.ihug.co.nz> (permalink) |
| References | <iii71v$3ud$1@lust.ihug.co.nz> |
Followups directed to: comp.lang.java.programmer
In message <iii71v$3ud$1@lust.ihug.co.nz>, Lawrence D'Oliveiro wrote:
> How many hundreds of times a day do Java programms write something like
>
> classname varname = new classname(args);
And this just gets worse with generic types, e.g.
GenericClass<Type1, Type2> x = new GenericClass<Type1, Type2>;
because Java has no typedefs like C++:
typedef GenericClass<Type1, Type2>
ShortName;
Or you could probably fudge it:
class ShortName extends GenericClass<Type1, Type2> {}
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 13:53 +1300
Re: Why ?new?? Owen Jacobson <angrybaldguy@gmail.com> - 2011-02-05 10:46 -0500
Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 19:29 +1300
Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:22 -0500
Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:41 -0500
Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-04 23:43 -0500
Re: Why “new”? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-02-05 09:31 -0400
Re: Why “new”? Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-05 18:43 +0100
Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-04 20:05 -0500
Re: Why “new”? "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-04 17:33 -0800
Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 14:53 +1300
Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 14:24 +1300
Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-04 23:47 -0500
Re: Why “new”? Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-05 02:09 +0100
csiph-web