Last december, I was at Meeting C++ in Berlin and I attended – among others – the talk Multithreading done right? by Rainer Grimm. In most of the examples, two or more threads were writing to cout using the form: And one of the problems was that data sent from one thread often interrupted another thread, so the output […]
Articoli nella categoria Hands-on
Anti-IF idioms in C++
Last November 15th I attended the Italian Agile Day in Ancona, where Gianluca Padovani, Marco Foco, and I facilitated a workshop on refactoring in C++ (if you like, read more details here). Before our session, I attended a couple of talks and one was about “IF-Oriented Programming vs Object Oriented Programming”, by Claudio Pattarello (a former […]