Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: The greeting code in Java Date: Mon, 20 Jun 2011 12:25:05 -0400 Organization: A noiseless patient Spider Lines: 31 Message-ID: References: <3d6aab49-9a4a-4614-af12-bb1c95bebbe7@w4g2000yqm.googlegroups.com> <4dfdf77e$0$4132$426a74cc@news.free.fr> <06cf6f85-5473-47da-b599-de2e7f81976d@d1g2000yqm.googlegroups.com> <125bbd94-dca2-4692-8c18-3c80d8717048@c41g2000yqm.googlegroups.com> <45250777-03f2-4391-b756-d8ecbf631f28@c20g2000vbv.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 20 Jun 2011 16:20:10 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="yplGUUrGzpiV4sv58weMcA"; logging-data="2586"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fW7k4iwX59BV5DNaOLpFs4f+lV67ZPNc=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <45250777-03f2-4391-b756-d8ecbf631f28@c20g2000vbv.googlegroups.com> Cancel-Lock: sha1:P5MJUEGVDIoMwXuCVSfdsq4UxFc= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5423 On 06/19/2011 03:06 PM, Saeed Amrollahi wrote: > On Jun 19, 7:01 pm, Jeff Higgins wrote: >> On 06/19/2011 10:17 AM, Saeed Amrollahi wrote: >> >>> On Jun 19, 5:13 pm, Jeff Higgins wrote: >>>> On 06/19/2011 09:44 AM, Saeed Amrollahi wrote:> On Jun 19, 4:19 pm, A ris wrote: >> >>>>> From point of educational view, do you think my code or your code >>>>> is as simple as the C++ version? >> >>>> What means simple? >> >>> Well, in the case of C++ code, I have to >>> explain cin, cout, string and two overloaded operators:>> and<< >>> in the case of java one: I have to >>> explain, the stream class hierarchy, InputStreamReader, >>> BufferedReader, >>> in, string, new operator, final, the meaning of buffered, >>> readLine, ... >>> I believe the C++ code is simpler for a beginner. >> >> What language does the beginner wish to learn? > > Actually, I am going to prepare a seminar under the title: C++ vs. > Java > I try to compare C++ and Java from point of programming view. You seem sincere but I can't help wonder: Who is the intended audience? What is the goal? Hopefully it's not a usenet seminar posted to both C++ and Java groups. That's been done, and is a messy format.