Thread Neue Programmiersprache (33 answers)
Opened by [E|B] at 2003-10-18 23:24

kabel
 2003-10-21 13:50
#24048 #24048
User since
2003-08-04
704 Artikel
BenutzerIn
[default_avatar]
die aussage steht und ist richtig. es ist leider nicht das einzige design-ziel von C++. ich zitiere:
Quote
In more detail, the main design goals of C++ may be summarized as follows:

* data abstraction and oo features
* better static type checking
* backwards compatibility with C. In other words, most C code should compile as legal C++, without requiring significant changes to the code
* efficiency of compiled code, according to the principle "If you do not use a feature, you should not pay for it"

$schlaues_buch = {
TITEL => "concepts in programming languages",
AUTOR => "John C. Mitchell",
VERLAG => "Cambridge University Press",
ANSPRUCH => "mittel", # für eine geeignete interpretation von mittel
};

das wird im weiteren noch detailliert ausgeführt. der dritte punkt ist der kasus knackus. aber andererseits, zeiger sind doch was feines ;)

[SCNR]
"foo" + "bar" - die aesthetischte art, ein stringliteral im code zu verwenden. auf den plätzen 2 und 3 folgen:
2 - "foobar"
3 - "f" + "o" + "o" + "b" + "a" + "r"
[/SCNR]

das ist das erbe von C. "'s is halt so". ;)
-- stefan

View full thread Neue Programmiersprache