257m@lemmy.ml to Programming@programming.dev • 1 year agoWhat are your programming hot takes?message-squaremessage-square283 fedilinkarrow-up1177
arrow-up1177message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev • 1 year agomessage-square283 Commentsfedilink
minus-squareTanakaAsuka@sh.itjust.workshexbear2·1 year agoI mostly agree with this but more than shorter code I value readability, I would rather take 3 lines to be clear to any developer than use some obscure or easy to misunderstand structure to write it in 1. linkfedilink
minus-squareStudioLE@programming.devhexbear1·1 year agoYep. And three functions is better than one for legibility even if one would be fewer lines of code linkfedilink
I mostly agree with this but more than shorter code I value readability, I would rather take 3 lines to be clear to any developer than use some obscure or easy to misunderstand structure to write it in 1.
Yep. And three functions is better than one for legibility even if one would be fewer lines of code