Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 8 days agoAI cannot replace humans spiteful spiritimagemessage-square106linkfedilinkarrow-up1966arrow-down12
arrow-up1964arrow-down1imageAI cannot replace humans spiteful spiritMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · 8 days agomessage-square106linkfedilink
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up10·edit-28 days agoNot really, but I’d probably try to organize those into sub structures where it made sense. A data structure holding the UI state and FFT data all flat is kinda messy imo since it becomes unclear what is actually required where.
minus-squaregrue@lemmy.worldlinkfedilinkarrow-up24·8 days agoYou can tell there ought to be substructures because he used comments to label the different groups. That’s a code smell right there.
minus-squarewise_pancake@lemmy.calinkfedilinkarrow-up2·8 days agoYeah that’s what I usually do, as long as it’s passed by reference there isn’t anything too bad here.
minus-squareDrunkEngineer@lemmy.worldlinkfedilinkarrow-up2·7 days agoIt is spite coding though. He probably has a bunch of gotos too.
Not really, but I’d probably try to organize those into sub structures where it made sense. A data structure holding the UI state and FFT data all flat is kinda messy imo since it becomes unclear what is actually required where.
You can tell there ought to be substructures because he used comments to label the different groups. That’s a code smell right there.
Agreed
Yeah that’s what I usually do, as long as it’s passed by reference there isn’t anything too bad here.
It is spite coding though.
He probably has a bunch of gotos too.