Ek-Hou-Van-Braai@piefed.social to Programmer Humor@programming.devEnglish · edit-222 days agoNow listen here you little shitmedia.piefed.socialimagemessage-square99linkfedilinkarrow-up11.16K
arrow-up11.16KimageNow listen here you little shitmedia.piefed.socialEk-Hou-Van-Braai@piefed.social to Programmer Humor@programming.devEnglish · edit-222 days agomessage-square99linkfedilink
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up2·edit-221 days agoExactly. Elegant code requires domain expertise, which no one has on during the first attempt. Strident attempts at elegance during the first domain-expertise-free try tend to just result in different kinds of shitty code. Of course, experienced programmers can obviously achieve lower shittiness, from day one. But truly elegant code requires exploring the domain, and learning what works there. Shitty or barely-good-enough code often walks so that elegant code can someday replace it.
Exactly. Elegant code requires domain expertise, which no one has on during the first attempt.
Strident attempts at elegance during the first domain-expertise-free try tend to just result in different kinds of shitty code.
Of course, experienced programmers can obviously achieve lower shittiness, from day one.
But truly elegant code requires exploring the domain, and learning what works there.
Shitty or barely-good-enough code often walks so that elegant code can someday replace it.