Ek-Hou-Van-Braai@piefed.social to Programmer Humor@programming.devEnglish · edit-21 day agoNow listen here you little shitmedia.piefed.socialimagemessage-square100fedilinkarrow-up11.13Karrow-down161
arrow-up11.07Karrow-down1imageNow listen here you little shitmedia.piefed.socialEk-Hou-Van-Braai@piefed.social to Programmer Humor@programming.devEnglish · edit-21 day agomessage-square100fedilink
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up1·edit-223 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.