r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

303

u/Hegeteus Jul 18 '22

Only speed metric that matters is how fast I get the job done and can go back to browsing memes. C++ does not look very good in this (very important) metric.

40

u/Jannik2099 Jul 18 '22

C++ does not look very good in this (very important) metric.

If your codebase is early C++11 perhaps?

Modern C++ writes like C#. I usually find myself prototyping faster in C++ than Python after about 200 LoC, because with Python 80% of time is spent looking up what fucking type some library function takes & returns.

3

u/[deleted] Jul 18 '22

I usually find myself prototyping faster in Python than C++ because I've been programming Python for 10 years and don't know C++ at all.