Ek-Hou-Van-Braai@piefed.social to Programmer Humor@programming.devEnglish · edit-210 hours agoNow listen here you little shitmedia.piefed.socialimagemessage-square68linkfedilinkarrow-up1888arrow-down148
arrow-up1840arrow-down1imageNow listen here you little shitmedia.piefed.socialEk-Hou-Van-Braai@piefed.social to Programmer Humor@programming.devEnglish · edit-210 hours agomessage-square68linkfedilink
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up1·edit-23 hours 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.