memesearch
Porting C to C++ in Four Steps

Porting C to C++ in Four Steps

Download Find similar pictures
Text on the meme
Item 39: Want to port your C program to C++? OOP in four simple steps: 1. Make `class Program`. 2. Place all functions inside class. 3. Place all variables inside class (private, of course). 4. Run `Program::main()`..
What it means

A text-based programming meme presents a deliberately oversimplified recipe for converting a C program to C++ by wrapping everything in a class and running a Java-style `main` method. The joke is that this is not idiomatic or generally correct C++, poking fun at superficial object-oriented programming advice and Java influences. It is sent as a reaction to simplistic programming tutorials or questionable code migrations.

Objects
Tags
Sources
Type
image
Size
614×382 · 42.1 KiB
Mood
sarcastic
Language
en
Added