From 7429887080431379348
X-Google-Thread: f78e5,e8e0ab29e8861265
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!cyclone.bc.net!news.alt.net!comp-std-cpp-robomod!not-for-mail
From: "Steven T. Hatton" <hattons@globalsymmetry.com>
Newsgroups: comp.std.c++
Subject: Re: If C++ had interfaces, what would they be?
Date: 29 Jul 2005 16:50:22 GMT
Organization: "Altopia Corp. - Usenet Access - www.altopia.com"
Lines: 56
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <G7qdnUZ3DeBTJ3TfRVn-uw@speakeasy.net>
References: <1122336456.595882.282330@g49g2000cwa.googlegroups.com> <42e81ebe$0$38041$5a6aecb4@news.aaisp.net.uk> <1122530279.186819.322090@g44g2000cwa.googlegroups.com> <rqGdnQMP2sP3FnXfRVn-qg@speakeasy.net> <1122586008.778088.72820@g47g2000cwa.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Delivered-To: std-c++@ucar.edu
X-TN-Interface: 209.99.127.21
X-Authentication-Warning: serv1.gc.dca.giganews.com: news set sender to poster@giganews.com using -f
NNTP-Posting-Date: Fri, 29 Jul 2005 00:12:46 -0500
User-Agent: KNode/0.9.1
X-Trace: sv3-sOJsXbH4MPLRy/28pwkBsApyNWiOvbZp6yIxOegDGrMMTI1N31DYqRHyoqhHIcmTq5fm3nIcf7dnGFn!Wv0r3vqRKRkahh7qqUdvJA6ICoK1S4qO8sOTX8Fy/u8YJg57T4+5JIqJcuXzFIuyddz50zRaitV7!NneAni+5Y6u4+0IB6Kc=
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Xref: g2news1.google.com comp.std.c++:1558

kuyper@wizard.net wrote:

> Steven T. Hatton wrote:
>> Bob Bell wrote:
> .
>> > What information do you think isn't there in a code base that would
>> > have to be synthesized out of thin air?
>> >
>> > Bob
>> >
>>
>> Take a look at this:
>>
>> http://www.java2s.com/ExampleCode/Swing-JFC/ClassBrowser.htm
>>
>> I challenge you to write comperable C++.  I also trust the same can be
>> done
> 
> You're being too vague, again. Try to be more specific. It's a big
> program, with a lot of capabilities. Which ones are you thinking of,
> specifically?

Do you really thing that's a big program?  I condirer it tiny.  That last
two methods demonstrate the core principle being exhibited 

> Writing [a?] comparable [program for?] C++ would be a big task, and of
> course it would never have exactly the same functionality; even if C++
> were better in every possible way from java, and even if C++lassBrowser
> were better in every way than ClassBrowser, it wouldn't perform exactly
> the same tasks. So the question is, what are the differences that are
> relevant to your claim?

What claim?  I'm not aware of having made any claim.

> If you're certain it can't be done, there must be many different
> specific and valuable capabilities of ClassBrowser that you think can't
> be provided for C++ code, using the lanuage as it's currently defined.
> Could you please identify just one of those capabilities, so we have
> some idea what you're talking about.

The word I used was comperable, not identical.  Having spent some time
working on a comperable C++ application, I am very certain it is a
non-trivial undertaking.

-- 
STH
http://www.kdevelop.org
http://www.suse.com
http://www.mozilla.org

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



