• meowmeowbeanz@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    14 days ago

    If programming languages are made for humans, then explain Assembly. Or better yet, try debugging a segfault in C at 3 AM and tell me that was designed with human comfort in mind.

    Sure, some languages pretend to be human-friendly (looking at you, Python), but then you hit regex or dependency hell, and suddenly it’s like deciphering alien hieroglyphs. Let’s not even start on Lisp—parentheses everywhere like it’s trying to smother you in syntax.

    No, programming languages aren’t made for humans—they’re made for machines, and we’re just the poor fools trying to survive the translation layer.

    • saigot@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      13 days ago

      add t0, t1, t2 is way easier for humans than the 0x014B4820 that it could be assembled into, and what programmers had to use before assembly existed.

    • vrighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      i prefer c than python tbh. When I write a c application, it keeps working. When I write a python script, it rots and rarely lasts a year before I have to stop whatever else I’m doing and dive back into the python code to get it working again

      • HStone32@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 days ago

        Not to mention python has a tendency to influence things outside of its domain. I’ve configured my software repos to never update any packages containing python scripts or dependencies, because every time python updates, there’s a chance all those packages will stop working.