Tixanou@lemmy.world to Programmer Humor@lemmy.ml · 9 months agocoding chesslemmy.worldimagemessage-square44fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagecoding chesslemmy.worldTixanou@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square44fedilink
minus-squarexlash123@sh.itjust.workslinkfedilinkarrow-up0·9 months agoReminds 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.
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.