who wants pasta in their computer?

  • dosuser123456@lemmy.sdf.orgOP
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    4 months ago

    ps: you know something you wrote is funny when taken out of context when someone screenshots it and after a while youre sent the screenshot of your message

  • Redkey@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 months ago

    Assembler, BASIC, Old C code, Cobol…

    …Pascal, Fortran, Prolog, Lisp, Modern C code, PHP, Java, Python, C++, Lua, JavaScript, C#, Rust…

    The list is infinite.

    Show me a language in which it is impossible to write spaghetti code, and I’ll show you someone who can’t recognize spaghetti code when it’s written in one of their favourite languages.

    • dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      thats exactly what the “you get the idea” line meant, i was only giving some examples because if i did itd be literally every language

      (also modern c is spaghetti, but old c is even more. legacy code is spaghetti no matter the language)

  • peoplebeproblems@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Calling assembler code spaghetti isn’t really that fair. I mean granted, everything ends up as “syscall” this and that, but it’s still more like one long spaghetti noodle with some meatballs and sauce.

    Old C code, written for like microelectronics suffers from it, sure.

    But for that gud spaghetti you gotta getti the BASIC and Cobol programs. Thems is good spaghetti.

    (And we’re going to ignore python right)