• xlash123@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    10 months ago

    Reminds me of when I downloaded Tic Tac Toe for my graphing calculator in high school. It wasn’t this verbose, but the original author copy pasted the logic for each turn. Even I knew this was awful, so I refactored it to use a loop.