today in "draw the rest of the fucking owl"

@regehr "find the seams" is much harder advice to execute on when dealing with code that may not even have seams because it was not constructed with any intent but rather is a gooey blob of gunk secreted from a statistics engine

glhf needleworker, you shit your bed now you can lie in it

@SnoopJ @regehr

The more shit changes, the more it stays the same.

https://archive.org/details/working-effectively-with-legacy-code

Working effectively with legacy code : Feathers, Michael C : Free Download, Borrow, and Streaming : Internet Archive

Code without tests is bad code. It doesn’t matter how well written it is; it doesn’t mat- ter how pretty or object-oriented or well-encapsulated it is....

Internet Archive
@crazyeddie @SnoopJ @regehr
Thanks for sharing that book! I have been looking for these type of ressources!
@Spagbol14 @SnoopJ @regehr It's an important one to have or at least be aware of some of the content. You could add "Refactoring" to the list--maybe its workbook too but I didn't end up ever doing any of the exercises it contains.
@crazyeddie @regehr ["AI" Enthusiast voice] legacy code is code without tests? Well I asked FroopDoop v4.20 to generate tests, so it's not legacy code anymore, all done!
@SnoopJ @crazyeddie @regehr FroopDoop-4.20-Q4_K_M is amazeballs.
@regehr I've been thinking about getting a T-shirt that says "Those who can't Claude" on it. If asked, I'd just complain about it missing the comma.
@dabeaz @regehr Before claude we'd just ship it late friday afternoon and deal with the bugs on monday. Distributed user-centric bug hunting, leverage your customer base! Has that changed?
@regehr just make gemini review the code
@regehr nothing like waiting until the project is over to ask for help on a project you didn’t even make yourself. My god. This IS the dark ages.
@regehr @Fiona It's sad how realizing the slop might not be production ready puts that person ahead of a lot of companies… ​
@regehr openClaw the rest of the owl
@regehr give it the true senior engineer code review and just slap "LGTM" in it and rock and roll

@kstatz12 @regehr that always made me laugh - I spent two days tracking down all the places in the legacy code that had to be changed to accommodate this new feature, refactoring half a dozen near identical versions that should have been a single function, coding up the feature, modifying the UX and adding an API call or two. And you can say LGTM in under three minutes.

The sad thing is I understand. My request to review blew away your twenty minutes mental preparation to get into the mind space to do your own work.

I'm increasingly of the opinion that if AI is used, it should be to review code changes, never to write code. Leave the creating to the humans, offload the tedious unwanted but necessary checking to the machines.

@regehr I feel like this illustrates a situation which has always existed. There are developers who only do the "fun part" of writing something new and shiny. And then there are those of us who maintain their crap. I'm the latter.
@regehr i believe the next step is: find a venture capitalist, convince them it's the next big thing, get money, then hire actual coders, and cash out as soon as you can to do it all over again
And all that the OP cared about was to monetize the code base. Really says something
@regehr *triples my consulting rate*

@theorangetheme @rayckeith @regehr feels a lot like the COBOL programmers who commanded premium rates in the lead up to Y2K, doesn't it?

"Cleanup on aisle Spagetti."

@deborahh @rayckeith @regehr Truly, I'm about to flame out at $DAYJOB, and I've been pondering starting a software co-op that, among other things, offers to quietly clean up vibeslop for the right price. (And four-day weeks because GURL. 😩)
@regehr this amateur forgot to put “make no mistakes” at the end of the prompt
@felface @regehr Alternatively: "This is really important for my career".
@regehr "I poured a lot of different chemicals into a barrel because I found a random bit of paper with this recipe on it. It actually is starting to bubble now, at least is giving off some pretty pungent gases, some users have passed out. Now I want to finalise it for production and try to sell it. What are the best options for non-chemist? My chemistry knowledge is, being honest, below average and too often I am lost staring into this barrel, at a loss. Any help appreciated."

@regehr

John, are we there yet?

@regehr Aside from *gestures vaguely*... as a lead engineer I'm _also_ lost staring at hundreds of lines of Python.

So much of my work is about achieving more, in smaller chunks, with less code, in a way humans can understand.

@regehr @xgranade

launch that production app!
do it!
do it!
do it!

@regehr more like "fucking around has been cancelled, stay tuned for finding out" 🍿
@regehr
I mean, I'm available at reasonable rates 🤷‍♀️
Fantasia - The Sorcerer's Apprentice (Part 1)

YouTube