bigboismith@lemmy.world to Programming Horror · 1 month agoFound this beauty in one of my old projects from schoollemmy.worldimagemessage-square14fedilinkarrow-up154arrow-down13
arrow-up151arrow-down1imageFound this beauty in one of my old projects from schoollemmy.worldbigboismith@lemmy.world to Programming Horror · 1 month agomessage-square14fedilink
minus-squarelogging_strictlinkfedilinkarrow-up1·13 days ago… an adult enters the conversation ;-) Easier maintainability is everything The best code Comes with tests what are easy to understand. As bugs are discovered, should be written in such a way, that it’s very easy to add more test cases. Fewest lines is not necessarily easy to maintain.
minus-squareSpicyLizards@reddthat.comlinkfedilinkarrow-up1·edit-212 days agoLol, I should have been marking that with a satire tag
minus-squarelogging_strictlinkfedilinkarrow-up1·10 days agoWhether you did or not, non-obvious what the answer would be. Might get 1000 cringe worthy responses that can’t withstand scrutiny So my eyes need not bleed and my mind not splatter across the room, wrote a worthy response.
… an adult enters the conversation ;-)
Easier maintainability is everything
The best code
Comes with tests what are easy to understand. As bugs are discovered, should be written in such a way, that it’s very easy to add more test cases.
Fewest lines is not necessarily easy to maintain.
Lol, I should have been marking that with a satire tag
Whether you did or not, non-obvious what the answer would be.
Might get 1000 cringe worthy responses that can’t withstand scrutiny
So my eyes need not bleed and my mind not splatter across the room, wrote a worthy response.
Lol