@[email protected] to Programmer [email protected] • 7 months agocoding chesslemmy.worldimagemessage-square47fedilinkarrow-up1722arrow-down127
arrow-up1695arrow-down1imagecoding chesslemmy.world@[email protected] to Programmer [email protected] • 7 months agomessage-square47fedilink
minus-square@[email protected]linkfedilink13•7 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.