Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26211

Re: Java vs C++

Date 2011-02-06 22:06 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Java vs C++
References (6 earlier) <iimf47$soo$1@news.belwue.de> <iimnes$dh2$1@news.eternal-september.org> <iinjod$7j3$8@lust.ihug.co.nz> <4d4f5813$0$23758$14726298@news.sunsite.dk> <iinmn0$9er$5@lust.ihug.co.nz>
Message-ID <4d4f61af$0$23756$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 06-02-2011 21:51, Lawrence D'Oliveiro wrote:
> In message<4d4f5813$0$23758$14726298@news.sunsite.dk>, Arne Vajhøj wrote:
>> On 06-02-2011 21:00, Lawrence D'Oliveiro wrote:
>>> In message<iimnes$dh2$1@news.eternal-september.org>, Joshua Cranmer
>>> wrote:
>>>> It's a macro generator that understands types and is heavily integrated
>>>> with the syntax of C++, but it is basically a way to automatically
>>>> generate code.
>>>
>>> You seem to be confusing one particular way of implementing
>>> generics/templates with the way the language feature is specified. Java
>>> generics could be implemented by a preprocessor that spat out
>>> first-edition Java code, for that matter.
>>
>> Java generics could have been defined that way.
>>
>> But they were not.
>
> See, you cannot even distinguish between “defined” and “implemented”.

You does not seem to have understood how Java generics are defined.

Such an implementation would not have been compliant.

In fact I think it would have been useless.

Arne

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Java vs C++ Thomas Richter <thor@math.tu-berlin.de> - 2011-02-06 16:35 +0100
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 15:51 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 22:06 -0500
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 15:01 +1300
    Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 16:08 +1300
    Re: Java vs C++ Thomas Richter <thor@math.tu-berlin.de> - 2011-02-07 14:53 +0100
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:52 -0500
  Re: Java vs C++ Lew <noone@lewscanon.com> - 2011-02-06 13:09 -0500
    Re: Java vs C++ Thomas Richter <thor@math.tu-berlin.de> - 2011-02-07 00:55 +0100
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 15:00 +1300
    Re: Java vs C++ Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-06 21:20 -0500
      Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 15:52 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 21:25 -0500
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 20:29 -0500
  Re: Java vs C++ Thomas Richter <thor@math.tu-berlin.de> - 2011-02-07 00:57 +0100
  Re: Java vs C++ Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-06 12:57 -0500
  Re: Java vs C++ "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-06 10:09 -0800
    Re: Java vs C++ "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-06 12:07 -0800
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 15:22 -0500
  Re: Java vs C++ "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-06 08:11 -0800
  Re: Java vs C++ Ken Wesson <kwesson@gmail.com> - 2011-02-07 04:41 +0100

csiph-web