{"id":468,"date":"2008-01-07T22:45:43","date_gmt":"2008-01-07T20:45:43","guid":{"rendered":"http:\/\/www.mitternachtshacking.de\/blog\/468-c-frequently-questioned-answers"},"modified":"2012-06-07T10:46:43","modified_gmt":"2012-06-07T09:46:43","slug":"c-frequently-questioned-answers","status":"publish","type":"post","link":"https:\/\/www.mitternachtshacking.de\/blog\/468-c-frequently-questioned-answers","title":{"rendered":"C++ Frequently Questioned Answers"},"content":{"rendered":"<p>Ich habe ja fr\u00fcher selbst mal (mehr oder weniger erfolgreich) ein wenig C++ programmiert aber so richtig anfreunden konnte ich mich mit der Programmiersprache nie. Ein <a href=\"https:\/\/events.ccc.de\/camp\/2007\/Fahrplan\/events\/1951.en.html\">besonderer C++ Basher<\/a> ist <a href=\"http:\/\/www.fefe.de\/c++\/\">bekanntlich Fefe<\/a>, der dazu schon einen <a href=\"http:\/\/www.fefe.de\/c++\/c%2b%2b-talk.pdf\">fiesen Vortrag<\/a> (PDF) gehalten hat.<\/p>\n<p>Und nun finde ich passend dazu die <a href=\"http:\/\/yosefk.com\/c++fqa\/\">C++ Frequently Questioned Answers<\/a> (FQA). Ei  paar Ausz\u00fcge:<\/p>\n<ul>\n<li>Operator overloading provides strong source code encryption (the time needed to figure out what <tt>a+b<\/tt> actually means is an exponential  function of the number of types, implicit conversions, template specializations and overloaded operator version involved).<\/li>\n<li> One thing is always true: where you can use C++, you can use C. In particular, if someone gave you C++ interfaces, a thin layer of wrappers will hide them. Using C instead of C++ has several practical benefits: faster development cycle, reduced complexity, better support by tools such as debuggers, higher portability and interoperability. When C++ is an option, C is probably a better option.<\/li>\n<li>Empirical studies indicate that 20% of the people drink 80% of the beer. With C++ developers, the rule is that 80% of the developers understand at most 20% of the language. It is not <em>the same<\/em> 20% for different people, so don&#8217;t count on them to understand each other&#8217;s code.<\/li>\n<\/ul>\n<p>Wunderbar \ud83d\ude42<\/p>\n<p><strong>Nachtrag:\u00c2\u00a0<\/strong><\/p>\n<p>Ein paar sch\u00f6ne Irrt\u00fcmer gibt es auch bei <a href=\"http:\/\/www.horstmann.com\/cpp\/pitfalls.html\">Cay Horstmann<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich habe ja fr\u00fcher selbst mal (mehr oder weniger erfolgreich) ein wenig C++ programmiert aber so richtig anfreunden konnte ich mich mit der Programmiersprache nie. Ein besonderer C++ Basher ist bekanntlich Fefe, der dazu schon einen fiesen Vortrag (PDF) gehalten hat. Und nun finde ich passend dazu die C++ Frequently Questioned Answers (FQA). Ei paar [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,10,3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/posts\/468"}],"collection":[{"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":0,"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mitternachtshacking.de\/blog\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}