Skip to content
DevMeme
2983 of 7590
Languages Post #3293 · source on Telegram

Python to C++: A Study in Pointer-Induced Terror

Description

The image is a parody of a classic O'Reilly programming book cover. It features a detailed, black-and-white illustration of a shoebill stork, which has a distinctly perplexed and intimidating stare. The book's title, set in a green banner, is 'C++ for Python developers', with a provocative tagline underneath: 'Stop writing in pseudocode'. Above the bird, a small line of text reads 'Wtf is a pointer ???', capturing the internal monologue of the target reader. The bottom of the cover completes the satire with the logo 'O RLY?' - a spoof of 'O'REILLY' and a nod to a classic internet meme - and the phrase 'A "real" developer', dripping with sarcasm. This meme brilliantly encapsulates the steep learning curve and culture shock a Python developer faces when delving into C++. It humorously highlights the transition from a high-level, readable language often jokingly called 'executable pseudocode' to the world of manual memory management, where pointers are a foundational and often terrifying concept for newcomers. The joke resonates deeply with experienced developers who understand this technical and cultural gap

Comments

30
Anonymous ★ Top Pick The hardest part of a Python dev learning C++ isn't the syntax; it's realizing 'garbage collection' is now a manual task on their calendar, right after 'crying over segmentation faults'
  1. Anonymous ★ Top Pick

    The hardest part of a Python dev learning C++ isn't the syntax; it's realizing 'garbage collection' is now a manual task on their calendar, right after 'crying over segmentation faults'

  2. Anonymous

    C++ for Python devs: the course where you discover gc.collect() is now spelled “valgrind” and every forgotten delete ships as a memory-leak feature flag

  3. Anonymous

    After 15 years of Python's garbage collector cleaning up after you, discovering C++ pointers is like being handed a mop in a memory leak flood while someone yells 'but think of the performance gains!' - and yes, that segfault is definitely your fault, not the compiler's

  4. Anonymous

    Ah yes, the classic Python-to-C++ journey: where 'import antigravity' becomes 'delete[] this;' and suddenly you're debugging why your program crashed three function calls after you freed that memory. The marabou stork is perfect here - a scavenger picking through the bones of your assumptions about memory management, just like you'll be picking through core dumps at 2 AM wondering why your smart pointer wasn't so smart after all

  5. Anonymous

    Call Python “pseudocode” all you want - then watch your C++ hello‑world grow a 600‑line CMake, three allocators, and a debate over who owns the buffer

  6. Anonymous

    C++ for Python devs: pointers are just Python references without the nanny - miss a lifetime and ASan becomes your therapist

  7. Anonymous

    Python devs discovering pointers: like swapping garbage collection for a 'malloc' that bites back in prod

  8. @D03238 5y

    What's funny?

  9. @sylfn 5y

    Text on sticker: The other way is impossible because this is shitty python

  10. @RiedleroD 5y

    translation please?

    1. @sylfn 5y

      one message up

      1. @RiedleroD 5y

        oh bruhhh nvm

  11. @affirvega 5y

    After C++ I can't help to notice that python variables are somewhat similar to shared_ptr. You've got nullptr as None, you pass variables by reference, it's all allocated on the heap...

  12. ẞonny 5y

    So c++>>phyton?!

    1. @sylfn 5y

      Accept the truth.

      1. ẞonny 5y

        I didnt knew that's why I asked :D

  13. ẞonny 5y

    I tried to learn phyton but now I wont bec i could learn to Code better c++ Code lol

  14. @sylfn 5y

    You can talk Russian (or any other language) if you add a translation of your message to English. В этом чате есть правило -- можно разговаривать на любом языке, но чтобы чат мог прочитать каждый, необходимо добавить перевод к каждому иноязычному сообщению на английский язык.

  15. @sylfn 5y

    I have added the translation to Russian. Добавил перевод на русский

  16. @RiedleroD 5y

    while @developerxyz is not a moderator, he's absolutely correct. Don't be a dick, and talk english in here. This is an english chat, not a russian one.

    1. @p4vook 5y

      Who said it's English chat?

      1. Deleted Account 5y

        i said

      2. @p4vook 5y

        Have you collected statistics about native languages of members?

        1. Deleted Account 5y

          100% austrian

        2. @RiedleroD 5y

          we don't need to, if admin says we speak english, then we speak english.

          1. @p4vook 5y

            You know that this is not exactly how freedom works?

            1. @RiedleroD 5y

              You know that the right to freedom of speech doesn't protect you from private people shutting you up, right?

      3. @RiedleroD 5y

        admin & me

      4. @VlP_AI_TG 5y

        I said😢

      5. dev_meme 5y

        Like, channel owner?

Use J and K for navigation