Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26096
| From | Ken Wesson <kwesson@gmail.com> |
|---|---|
| Subject | Re: Why “new”? |
| Newsgroups | comp.lang.java.programmer |
| References | <iii71v$3ud$1@lust.ihug.co.nz> <iiiqnu$ev4$1@lust.ihug.co.nz> <4d4da290$0$23764$14726298@news.sunsite.dk> <jUh3p.112203$Vd1.80545@newsfe19.iad> <4d4dac30$0$23765$14726298@news.sunsite.dk> <4d4e29fb$1@news.x-privat.org> <iilid3$48g$1@news.eternal-september.org> <p8x3p.20341$g96.17119@newsfe15.iad> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| NNTP-Posting-Host | $$-cwgml$lsc2q.news.x-privat.org |
| Message-ID | <4d4f6434$1@news.x-privat.org> (permalink) |
| Date | 7 Feb 2011 04:17:08 +0100 |
| Organization | X-Privat.Org NNTP Server - http://www.x-privat.org |
| Lines | 55 |
| X-Authenticated-User | $$o-16a0wpsuhxkoyemw |
| X-Complaints-To | abuse@x-privat.org |
| Path | csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!newsfeed.x-privat.org!x-privat.org!not-for-mail |
| Xref | csiph.com comp.lang.java.programmer:26096 |
Show key headers only | View raw
On Sun, 06 Feb 2011 09:13:57 -0400, Arved Sandstrom wrote: > On 11-02-06 03:25 AM, Mike Schilling wrote: >> >> >> "Ken Wesson" <kwesson@gmail.com> wrote in message >> news:4d4e29fb$1@news.x-privat.org... >>> On Sat, 05 Feb 2011 14:59:49 -0500, Arne Vajhøj wrote: >>> >>>> On 05-02-2011 14:52, Arved Sandstrom wrote: >>>>> On 11-02-05 03:18 PM, Arne Vajhøj wrote: >>>>>> On 05-02-2011 01:29, Lawrence D'Oliveiro wrote: >>>>>>> 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>; >>>>>> >>>>>> Well that does not compile. >>>>>> >>>>>>> because Java has no typedefs like C++: >>>>>>> >>>>>>> typedef GenericClass<Type1, Type2> >>>>>>> ShortName; >>>>>> >>>>>> Well - if you want to minimize the number of characters in the >>>>>> source code, then Java is definitely not the language for you. >>>>> >>>>> Yeah...and neither is C++. >>>> >>>> It is shorter than Java (a little bit in syntax a lot in style). >>>> >>>> But I am sure there are languages shorter than C++. >>> >>> Lisp, in a good way. >>> >>> Perl, in a bad way. >> >> APL, in an ugly way. > > J has arguably helped with that. Some. Fact is, if you apply yourself to > learning and using J then it's not line-noise at all, it's just > extremely terse. It's not symbol cruft in the same sense that Perl is. And what, pray tell, is J? Not that it matters much. You can't even type in APL code with a normal keyboard and a normally-behaving text editor. Even Perl isn't quite *that* awful. :)
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar
Re: Why “new”? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-02-06 09:13 -0400
Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-08 22:59 -0500
Re: Why “new”? Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-02-09 12:55 +0000
Re: Why “new”? Ken Wesson <kwesson@gmail.com> - 2011-02-07 05:42 +0100
Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-08 23:07 -0500
Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-08 07:39 -0500
Re: Why “new”? Ken Wesson <kwesson@gmail.com> - 2011-02-08 16:14 +0100
Re: Why “new”? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-02-08 20:22 +0800
Re: Why “new”? Ken Wesson <kwesson@gmail.com> - 2011-02-08 11:59 +0100
Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-07 19:18 -0500
Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:03 -0500
Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:01 -0500
Re: Why “new”? Ken Wesson <kwesson@gmail.com> - 2011-02-08 12:33 +0100
Re: Why “new”? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-02-08 20:32 +0800
Re: Why “new”? Ken Wesson <kwesson@gmail.com> - 2011-02-07 04:45 +0100
Re: Why “new”? Patricia Shanahan <pats@acm.org> - 2011-02-06 20:20 -0800
Re: Why “new”? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-02-07 11:27 +0800
Re: Why “new”? Ken Wesson <kwesson@gmail.com> - 2011-02-07 04:17 +0100
csiph-web