""Tsk, tsk," said the Hatter, "what a mess you've made.""It is perfectly fine," replied Alice calmly. "I will leave it for the garbage collection service to recover.""Don't expect any garbage collection here. Furthermore, your polymorphic variables won't ever be properly deleted, because you haven't declared your destructor to be virtual.""My what to be what?" said Alice, starting to get worried."Declare your destructor. You must have a destructor. Everything that is constructed should be destroyed; it's only natural. Furthermore, if you are ever not quite what you seem, you should declare yourself to be virtual.""A rule to remember!" roared the Red Queen. "Never make a mess without cleaning it up first.""You can ignore her," whispered the Dormouse, picking up the tea cake Alice had just set aside, "but you shouldn't cast away const so lightly."Alice began to feel that this new world she found herself in was not quite the same as the cozy sitting room she had just left."
Quote Details
Added by wikiquote-import-bot
Unverified quote
0 likes
Original Language: English
Available Languages (1)
Sources
Timothy Budd (1999) C++ for Java Programmers. p. v
https://en.wikiquote.org/wiki/C%2B%2B
Revision History
No revisions have been submitted for this quote.
Categories
C++
C++ (pronounced "see plus plus") is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises both high-level and low-level language features. Developed by Bjarne Stroustrup starting in 1979 at Bell Labs, C++ was originally named C with Classes, adding object oriented features, such as classes, and other enhancements to the C programming language
32 quotes on TrueQuotesView all quotes by C++ →
Related Quotes
"The complexity of C++ (even more complexity has been added in the new C++), and the resulting impact on productivity,…"
"Actually I made up the term "object-oriented", and I can tell you I did not have C++ in mind."
"Today, we're at the beginning stages of the next level. Executable UML is the next logical, and perhaps inevitable, e…"
"I think C++ was pushed well beyond its complexity threshold and yet there are a lot of people programming it. But wha…"
"Now, there was a nigger, who came up with this idea: cout << "Hello" << endl;, well that's pretty niggerlicious."
"But you wonder whether it [C++] has passed beyond some threshold of complexity that's beyond mortals."
"Everyone has an individual background. Someone may come from Python, someone else may come from Perl, and they may be…"
"And C++ programming languages, we own those, have licensed them out multiple times, obviously. We have a lot of royal…"
"I believe C++ instills fear in programmers, fear that the interaction of some details causes unpredictable results. I…"
"Writing in C or C++ is like running a chain saw with all the safety guards removed."