Yeah, one gets tired of cleaning stuff up or fixing bugs that could have been more easily found or avoided.
But you have wade through that to understand it and develop better habits.
@hadleywickham If you've got the time then playing "refactor the crap 'til it's good" is fair play - even if there's a deeper reason it can't be good code to fix (I don't roll my own crypto for a reason), turd polishing is still practice at polishing!
The standard advice to artists about recognising that you're developing taste and probably developing it faster than you develop skill very much applies with code too.
So basically the llm overlords are right on track
@daut @hadleywickham Not even slightly. Humans learn by doing. LLMs turn to shit when fed on each others' output because they have no taste of their own: they're just trying to pass for an entity like those producing the data they're trained on.
I fully intend to teach people I've learned from a thing or two down the line, and on a friendly basis have done so...
@flippac not sure the first part of that "fed each others output" ... #academafia does a good approximation... #twitter did a good approximation. lol.
But I agree. Learning by doing is the way. Other ways... in a different category.
I started my final career stage doing a Y2K rewrite of a gigantic ball of mud. The “programmer” had literally died on the job.
Large set of program libraries. MVS390. Nested macro calls to nowhere. Defunct code throughout. No style. No documentation. Single author. In PRODUCTION. 😱
Taught me a few things!
@hadleywickham yes 💯 yes and!
Accept and encourage the shitty code of others —- when or if you are given the gift of critiquing another’s code, remember to be compassionate, and encouraging, not cruel or discouraging (which is *very* easy).
I feel that the highest art is to make it crystal you are critiquing the code while encouraging the coder.
(Harder still: to remain open that your “wise” (hard won) criticism may even be very misguided/out of date)
Or, you know, git gud at Googling! 😂
@hadleywickham I got my first synthesizer in 1980. And now, finally, I’m really good at it LOL
Wasn’t in the beginning of course, but maybe five years ago I just kind of noticed I’d not been worried about that for a while. It just takes time. And work.