Jul 20, 2008
Preston Bannister: C++ is an extension of C. In every way C is good, C++ is exactly as good.
me: To ask what a language allows is to miss the point. What does the language encourage? By technology or by culture?
PB: A mediocre programmer can write very bad code in C++. For a good programmer C++ is always and without exception a better tool than C.
me: Code must also be read, with minimal friction. Friction doesn’t just come from bad programmers. It can also come from lots of competent programmers fluent in different subsets of a language.
me: To ask what a language allows is to miss the point. What does the language encourage? By technology or by culture?
PB: A mediocre programmer can write very bad code in C++. For a good programmer C++ is always and without exception a better tool than C.
me: Code must also be read, with minimal friction. Friction doesn’t just come from bad programmers. It can also come from lots of competent programmers fluent in different subsets of a language.
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.