RE: "I asked about dependency injection in C++ and people made fun of me"
Errol Thompson <[email protected]>
| Newsgroups | gmane.comp.programming.language-of-the-year |
|---|---|
| Message-ID | <003901c89b6e$71f94ad0$7000a8c0@HomeOffice> |
> C++ predates Design Patterns - the first examples of Design Patterns > were in C++ back when C++ was already a popular language The first text that I ever read that had any connotations of design patterns was Coplien's programming styles and idioms for C++ (1992). It may not have been called design patterns but it has the same underlying principle. There are ways to write effective code in this language. Maybe Coplien's idioms are more like Beck's implementation patterns but I wouldn't like to argue that there were no design patterns in use for implementing C++ code. Beck, K. (1997). Smalltalk best practice patterns (1st ed.). Upper Saddle River, NJ: Prentice Hall. Beck, K. (2007). Implementation patterns. Upper Saddle River, NJ: Addison Wesley. Coplien, J. O. (1992). Advanced C++ : programming styles and idioms: Addison Wesley Longman. ---------------------------------- Errol Thompson Kiwi-ET Computing Education Research Wellington, New Zealand Mobile: +64 21 210 1662 Home: +64 4 938 5069 Skype: Kiwielt MSN: kiwiet (at) computer.org E-mail: kiwiet (at) computer.org Web: www.teach.thompsonz.net ----------------------------------