• Pyro
    link
    fedilink
    English
    179 months ago

    While I agree with the premise of the article, the code is completely unreadable to me. I took a look at the first snippet and just thought “Nah.”

    • @[email protected]
      link
      fedilink
      09 months ago

      That’s because it’s not the source. It’s not the preferred way of modifying the program. The state diagram is the preferred way of modifying the program.

    • NostraDavid
      link
      -49 months ago

      You really need to know C to be able to read that code - If I only knew Python or Java I’d be hella lost too.

      • Pyro
        link
        fedilink
        English
        169 months ago

        It’s not even that. I can generally read a C-like language, but when the first line I see is a long-ass array of bytes with zero documentation it just makes me not want to even try.