Cover of Advanced C₊₊ programming styles and idioms

Advanced C₊₊ programming styles and idioms

by James O. Coplien · first published 1992

7mentions
4recommended by
5HN commenters
2011–2026first – last mentioned

80% recommend20% neutral

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

20 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 1 mention2012: 0 mentions2013: 0 mentions2014: 1 mention2015: 0 mentions2016: 0 mentions2017: 1 mention2018: 0 mentions2019: 0 mentions2020: 0 mentions2021: 0 mentions2022: 2 mentions2023: 1 mention2024: 0 mentions2025: 0 mentions2026: 1 mention200720172026

What Hacker News says

  • hyperliner · Jul 3, 2014 · Recommends

    Maybe another way of saying "Staying Idiomatic" is "What made you great before won't this time." I had to do a C++ project a while back and got my hands on "Advanced C++ Programming Styles and Idioms" by James Coplien through a friend's recommendation. Best thing I ever did to really understand the soul of the language. I am sure there is such "soul identifying" book for each language. What would…

    on “Adopting a new programming language” ↗
  • rramadass · Sep 24, 2022 · Recommends

    …useful; Pre Modern C++: 1) Multi-Paradigm Design for C++ by James Coplien. 2) Scientific and Engineering C++: An Introduction With Advanced Techniques and Examples by John Barton & Lee Nackman. 3) Advanced C++ Programming Styles and Idioms by James Coplien. 4) Modern C++ Design: Generic Programming and Design Patterns Applied by Andrei Alexandrescu. Modern C++: 1) Functional Programming in C++: How to improve your C++ programs using…

    on “C++ by Example” ↗
  • banned1 · Oct 16, 2017 · Recommends

    Advanced C++ Programming Styles and Idioms by James O. Coplien https://www.amazon.com/Advanced-C-Programming-Styles-Idioms/...

    on “Essential C” ↗
  • pacman128 · Nov 14, 2022 · Recommends

    _Advanced C++ Programming Styles and Idioms_ by James O. Coplien It showed me how to really use C++ effectively back in the 1990's. It was at the time in a class by itself. (Pun intended).

    on “Ask HN: Do you recall any book or course that made a topic finally click?” ↗
  • rramadass · Jun 23, 2023 · Recommends

    …reassignable like a member variable? It is possible in certain object models. Lookup "Metaclasses" in your favourite language for possible support. If you want to see example code in C++, checkout the classic Advanced C++ Programming Styles and Idioms by James Coplien. The book contains lots of examples of mind-bending OO trickery using C++.

    on “Object-oriented Programming with ANSI-C (1993) [pdf]” ↗
  • rramadass · Aug 7, 2026 · Recommends

    …projects involving binary protection, obfuscation etc. Program Obfuscation via ABI Debiasing (pdf) - https://www.google.com/goto?url=CAESYgHuR6pNsi8_4x_I2WBy7lmf... PS: James Coplien in his excellent Advanced C++ Programming Styles and Idioms shows many techniques one of which is actually replacing vtable entries at runtime to mimic features from more dynamical runtime languages (eg. Smalltalk).

    on “Thoroughly Understanding C++ ABI” ↗
  • Figs · Aug 7, 2011 · Mentions

    …(http://www.sgi.com/tech/stl/functors.html) and numerous other reference sites. According to Bruce Eckel's Thinking in C++ Vol 2 (in the section describing the Command Pattern), the term dates to 1992: > In Advanced C++: Programming Styles And Idioms (Addison Wesley, 1992), Jim Coplien coins the term functor which is an object whose sole purpose is to encapsulate a function (since “functor” has a meaning in mathematics, we shall use the more explicit…

    on “"functors" in c++, ML, haskell, prolog” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help