bigboismith@lemmy.world to Programming Horror@programming.dev · 4 months agoFound this beauty in one of my old projects from schoollemmy.worldimagemessage-square11fedilinkarrow-up142arrow-down10
arrow-up142arrow-down1imageFound this beauty in one of my old projects from schoollemmy.worldbigboismith@lemmy.world to Programming Horror@programming.dev · 4 months agomessage-square11fedilink
minus-squareSpicyLizards@reddthat.comlinkfedilinkarrow-up3·4 months agoThe best code has the fewest lines.
minus-squareHello Hotel@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-22 months agoThis is just as easy to write, just as sloppy but hopefully way easier to read. Game.onload = (data)=>{ let a = data; a = JSON.decode(a)["GameData"]; a = btoa(a); a = JSON.decode(a)["GameData"]; return a; }
The best code has the fewest lines.
This is just as easy to write, just as sloppy but hopefully way easier to read.