who wants pasta in their computer?

  • Redkey@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    20 days 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.

    • UnrepentantAlgebra@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      19 days ago

      The obvious solution is to use Rust’s upcoming “spaghetti checker” feature. Once the compiler decides that your code is too messy to be maintainable, it refuses to compile.

      • dosuser123456@lemmy.sdf.orgOP
        link
        fedilink
        arrow-up
        2
        ·
        19 days ago

        great, now the compiler wont let me modify my programs (i really should get better at coding because i seem to only know to do spaghetti)

  • dosuser123456@lemmy.sdf.orgOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    20 days 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

    • dosuser123456@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      9 days ago

      windows xp kernel included dirty hacks from when ms-dos 6.22 was in active development and not released yet and they might still be there in 10