• grue@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    11 hours ago

    Because “more effort and care” in Python is still way less of a pain in the ass than the minimum enforced boilerplate necessary in most other languages.

      • grue@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Implement a basic socket connection in C (20 lines of manipulating struct sockaddrs and such), then do the same in Python (2 lines).

        And then go back and make the C version support IPV6, because your initial implementation didn’t.