3 ms·
Your lecturer did you a disservice; clearly he only knew C, and didn't want to learn any more. The more your C++ code resembles C, the worse it is.
by moloch-hai 4y ago
Your lecturer did you a disservice; clearly he only knew C, and didn't want to learn any more.
The more your C++ code resembles C, the worse it is.
- Throwaway23459 4y agoMaybe he only knew C as you say. I did C++ professionally for a while. Not properly, just updating models in derivatives trading systems. I remember reading 3 Scott Meyer books, the Effective Programming series, at the time, they were a tour de force. Loved that guy. I've lost track of everything since 11 or whenever they introduced move semantics. One day I might go back to it.
- moloch-hai 4y agoNowadays it's "rule of zero": compiler-generated constructors, destructor, assignments, compare. The members are of types smart enough on their own. Lambdas are generic now, and variadics work most places. Velocity has shot up. Fun, too.