Skip to content
DevMeme
3577 of 7590
Languages Post #3914 · source on Telegram

A Syntactically Significant Rejection

Description

A screenshot of a tweet from user Patrick Loeber (@python_engineer). The tweet is a short, two-line dialogue that plays on programming language syntax. The first line is, 'He: You are the ';' to my code.' This is a romantic compliment among programmers who use languages like C++, Java, or JavaScript, where the semicolon is a mandatory statement terminator, implying 'you complete me.' The second line is the punchline, 'She: I code in Python.' In Python, semicolons are optional and rarely used, making the statement effectively mean 'you are unnecessary.' The humor arises from this clever, geeky rejection based on the syntactical differences between major programming languages

Comments

28
Anonymous ★ Top Pick The relationship was never going to compile; he was looking for a strongly-typed commitment, and she was into dynamic, duck-typed flings
  1. Anonymous ★ Top Pick

    The relationship was never going to compile; he was looking for a strongly-typed commitment, and she was into dynamic, duck-typed flings

  2. Anonymous

    Cross-language romance is basically writing C headers for a Python module - one misplaced semicolon and the whole relationship fails to compile

  3. Anonymous

    After 20 years of explaining to stakeholders why their 'simple' feature request requires rewriting half the codebase, the most unrealistic part of this exchange is a developer actually understanding what makes them incompatible before committing to the relationship

  4. Anonymous

    The real tragedy here isn't the rejected pickup line - it's that he clearly didn't check her tech stack before deploying to production. Any senior engineer knows you validate compatibility before committing to a relationship, especially when one party treats whitespace as sacred and the other thinks semicolons are mandatory. This is what happens when you skip the architecture review and go straight to implementation

  5. Anonymous

    Try that line on a Pythonista and you'll get PEP 8'd - Black deletes the semicolon, flake8 files E703, and the relationship fails CI

  6. Anonymous

    When your Python is so idiomatic, the code handles intros while you debug the existential crisis

  7. Anonymous

    Cross-language romance: he offers semicolons; she runs Black - his affection gets removed as an unnecessary delimiter

  8. @justjonniejoy 4y

    Better to break with her

  9. @Rumbatutumba 4y

    or in Swift

    1. @freeapp2014 4y

      swift supports semicolons tho

      1. @Rumbatutumba 4y

        does not need them tho

        1. @freeapp2014 4y

          yes but it doesnt freak out like python

          1. @RiedleroD 4y

            python just ignores semicolons at the end of lines tho

  10. @karim_mahyari 4y

    Burn

  11. Anon 4y

    i hate twitter so much it's unreal

    1. @RiedleroD 4y

      u on mastodon?

  12. @zherud 4y

    He: Me to.

    1. @dsmagikswsa 4y

      You are right. Actually his username is python_engineer. So the story is he try to insult her and she thought he doesn’t know she code in python or try to flirt her.

  13. Deleted Account 4y

    He:I code in COBOL

    1. @SamsonovAnton 4y

      Brainfsck! https://www.reddit.com/r/Python/comments/cmuc4r/i_wrote_a_brainfuck_interpreter_in_a_single_line/

  14. Deleted Account 4y

    print("hello");

  15. Deleted Account 4y

    its valid

    1. @sylfn 4y

      but useless (as python is)

      1. @RiedleroD 4y

        python isn't useless as a scripting language

        1. @RiedleroD 4y

          but yes, the semicolon is useless in python

          1. @sylfn 4y

            unless you want to make shitty one-liner (good one-liners dont use them)

        2. @sylfn 4y

          tcc -run now you can use C in scripts

          1. @RiedleroD 4y

            how about no? writing in C takes much more time than writing the equivalent code in python - so it's perfect for glueing other programs together (as I have done in my automated video rendering script)

Use J and K for navigation