Re: A C++ Whishlist
From: Johannes Bauer (dfnsonfsduifb_at_gmx.de)
Date: 03/10/04
- Next message: Howard: "Re: declaration of functions return pointers"
- Previous message: D.D.Dave: "Custom OStream Class Creation"
- In reply to: Hattuari: "Re: A C++ Whishlist"
- Next in thread: Pete Vidler: "Re: A C++ Whishlist"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Mar 2004 00:32:16 +0100
Hattuari wrote:
>>These are nothing to do with the language or the standard library. They
>>are to do with your editor or IDE -- moreover they are highly platform
>>specific. This will never happen.
>
>
> Just because it's never been considered or attempted, doesn't mean it can't
> be done. The suggestion comes as a result of a great deal of user-level
> experience with more editors/IDEs than I could possibly name, on several
> different platforms, I should add. I'm not talking about the full
> implementation, I'm talking about the necessary building blocks.
What do you mean? You're proposing changing C++, so why do you add what
features you'd like to have your IDE in? Do you mean a standard, maybe
appendix, to the C++ standard which declares that keywords like "int",
"float", "double" need to be in green print and "void", "static",
"public" should be blue or mangenta? It's nonsense.
[Snip]
>>The Java String class is useless. Last time I used it (3 years ago) it
>>had an equality operator ('==', although Java doesn't actually support
>>operator overloading) that compared addresses rather than values (in a
>>language that doesn't acknowledge such a thing as an address)!
>>
>>You could do this:
>>
>>String a = "Hello!"
>>String b = "Hello!"
>>
>>The expression "a == b" would return false. No such problems with C++.
>
>
> There is something to be said for RT_M.
Am I missing the point here? I don't know how Java handles a "String",
but if it really compared pointers it would just plain suck. Period. And
Java is annoying enough with its exceptions to the operator overloading
rule (like string concatenation using operator+).
[Snip]
>>What do you mean by automatic synchronization anyway? Sounds like
>>something a tool would do, not the standard library.
>
>
> You say 'the' standard library. But the entire purpose of my post was to
> suggest change.
You haven't answered the question. What do you mean by automatic
synchronizazion? Appearently Pete is not the only one who's confused here...
[Snip]
> What's the point in throwing an exception if
> it isn't handled?
What's the point in "catching" an exception for a statement where you
_know_ no such exception will happen?
One more time answered to some nameless troll. How sad.
Greetings
Johannes
-- "Je ein Stueckchen Kreppsohle an die Fuesse eines Hamsters kleben. Das Laufrad des Hamsterkaefigs mit Kunststoffteppich auskleiden. Nach 15 bis 20 Minuten Betrieb ist der Elektroschocker geladen und bereit zur Anwendung." Mirko Liss in de.sci.electronics
- Next message: Howard: "Re: declaration of functions return pointers"
- Previous message: D.D.Dave: "Custom OStream Class Creation"
- In reply to: Hattuari: "Re: A C++ Whishlist"
- Next in thread: Pete Vidler: "Re: A C++ Whishlist"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|