
keepItSimpleStupid: Foo x;
Five-panel Winnie the Pooh meme comparing C++ object creation: first panel writes "Foo x;" while resting chin, second in a suit writes a verbose malloc cast, third with bow tie writes "auto p = new Foo;", fourth in top hat and monocle writes "auto p = std::make_unique<Foo>();", fifth in red robe returns to "Foo x;". Conveys back-to-basics simplicity and sarcasm.
Text in the image
“Foo x;” “auto p = new Foo;” “auto p = std::make_unique<Foo>();”
Good for
- mocking over-engineered code
- code review seeing over-design
- Friday afternoon refactor talk
Collected from the web · rights belong to the original authorsWeb
- License
- Web collected
- Source
- programmerhumor.io
- Details
- 712×1062 · JPG
Tags
Writing something? Let AI place memes
Paste an article and memes land on the punchlines.