[Suchen Autor für:] Artikel über Idioms
-
Hi,
fänds schön, wenn einer einen Artikel über gebräuchliche Idioms schreiben könnte
-
Für welche Sprache?
-
IDIOM schrieb:
Für welche Sprache?
C++, was sonst
-
-
fundstück schrieb:
Klar gibt es dazu schon Seiten, wie für die anderen Artikel auch
Dann fangen wir mal für den Autor an zu sammeln:
http://c2.com/cgi/wiki?CplusPlusIdioms
-
Was ist ein Idiom?
-
In computer science, an idiom is a low-level pattern that addresses a problem common in a particular programming language. An idiom describes how to implement particular aspects of components or the relationships between them using the features of the given language.
For instance, in C source code one might see while(*a++ = *b++);, which copies characters from b to a until the null character ('\0') is encountered. This is an idiom in that a C programmer on seeing it does not need to mentally parse what it might mean, although in this case the effect of the code can be deduced from the literal syntax and C's order of operations.