From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868292008c639ce X-Google-Attributes: gid103376,public From: "Ken Garlington" Subject: Re: C vs. Ada - strings Date: 2000/06/04 Message-ID: <9yB_4.4309$Md1.135838@news.flash.net>#1/1 X-Deja-AN: 631070819 References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8en5o9$ihe$1@nnrp1.deja.com> <8eonos$e70$1@wanadoo.fr> <1fIU4.4668$Rx3.250161@typhoon.nyroc.rr.com> <3924B730.AFB52C1C@acenet.com.au> <4hc_4.2223$Md1.63965@news.flash.net> <3939602B.677BF4FF@telepath.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 960161029 216.215.66.156 (Sun, 04 Jun 2000 18:23:49 CDT) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Sun, 04 Jun 2000 18:23:49 CDT Newsgroups: comp.lang.ada Date: 2000-06-04T00:00:00+00:00 List-Id: "Ted Dennison" wrote in message news:3939602B.677BF4FF@telepath.com... > Ken Garlington wrote: > > > Does "new" count as a function call? > > That'd be quite a stretch, as its a reserved word. You might as well say "type" > ... "is" is a function call. I think we're stretching it far enough just > accepting the "no function call" restricion to begin with. The only reason I > can see for it is an attempt to constrain the possible answers in a way that > selectively hampers one language over another. > > We might as well say "you can't use anything *but* function calls, and no infix > operations are allowed", so that Lisp comes out as the superior string handling > language. My point being: The original question implied that the Java solution was better because it had no function calls. However, it used "new". So either (a) "new" is a function call, in which case the question doesn't appear to make any sense, or (b) it isn't, in which case we'd need to know for sure what _is_ a function call.