God I wish there was an easier way to do thisprogramming.devimage andioop ( @andioop@programming.dev ) Programming Horror@programming.devEnglish • edit-210 months ago message-square27fedilinkarrow-up1115
arrow-up1115imageGod I wish there was an easier way to do thisprogramming.dev andioop ( @andioop@programming.dev ) Programming Horror@programming.devEnglish • edit-210 months ago message-square27fedilink
minus-square FarraigePlaisteach ( @FarraigePlaisteach@kbin.social ) linkfedilink4•edit-210 months agoI would replace each if/else with a while.
I would replace each if/else with a while.