Hacker News new | ask | show | jobs
by legitster 6 days ago
It's important to separate out the models themselves from their implementation. For our internal research projects, AI has been completely hamstrung by our own poor data hygiene and technical debt.

But for actually generating useful code I don't think I'll ever be able to go back. The fun of coding was the problem-solving - spending days banging your head against the wall because of a single typo is a frustration I feel no nostalgia for.

5 comments

It’s been over a decade since a single typo was a problem in programming.

IDEs solved that problem a long time ago.

If you're thinking missing semicolon - a compiler solves that without an IDE just fine. If the typo still results in valid - but incorrect - code, good luck. What catches it are tests, not IDEs. IDEs are a kind of slow vi for people who can't type good.
pretty sure he's jus tpooint out the dumbest of all mistakes. the ones I hit are always random api foibles or mischaracterizations. then of course I could live in a language I cant read which is typescript and ge tthe best of both worlds.
There's some good and bad to that. It's good when AI finds a bug in a crypto primitive I implemented myself, without it real users would have been harmed by a formulaic error, or I wouldn't be able to in good faith even rely on it, but pretty bad when AI finds a sign bug in my sprite renderer, or a nasty type error in my novice Rust, cause it takes away from the learning that a hobby project was supposed to force me into.

I think, at least for more junior devs, we need to treat the AI as a grumpy senior: don't email it until you spent at least a week headbanging, but when you do, give it all the resources to answer that narrow question and soak up all the wisdom you can from that solution.

perfectly put, our "innersource" is decaying at the speed of light with ai, while the project that actually reach consumers and are backed by proper engineers significantly improved.
> spending days banging your head against the wall because of a single typo is a frustration

have you tried debugging instead of doing that? :)

No but seriously, is this a figure of speech? I've been programming for 30+ years and getting a "bug because of a single typo" is already quite rare in my experience, but especially when it's caused by a single typo, found within minutes to half an hour?

I guess over the years it's probably happened some time, I honestly can't remember being stuck on a typo bug for days, ever.

In fact the kinds of bugs that cost days have usually been the interesting ones ...

(clarification: I mean a "typo bug" that isn't immediately caught by the parser/compiler, like a missing semicolon or misspelled var name)

> spending days banging your head against the wall because of a single typo is a frustration I feel no nostalgia for

days... for a single typo? wtf that's very hard to believe, even if you don't have static type checking, you still have language servers, linters, IDEs and so on. That just sounds like plain bs. And btw LLMs can make typos too if it is coming from a logic error. I could, for example, dereference a pointer with the wrong cast if you don't specify otherwise, a mistake you can make by hand too

Here's one, from decades ago.

This was in Fortran, and in those days, in all caps. I was in college, so considerably less experienced than I am now. The problem was that Fortran didn't know what cosine was, which was absolutely unbelievable. It knew what sine was, how could it not know what cosine was?

The problem was that at one place, when I went to type COS, my finger overshot the letter O and landed on the number 0, so I got C0S rather than COS. On that monitor's font, the difference was not as obvious as it is to you reading this. I spent two days trying to figure out why it didn't understand cosine. (Two part-time days, because I had classes and homework and stuff.) Finally I re-typed it in desperation, and the problem went away. That's when I figured out what happened.

So, yeah. Two days for a single typo. Been there, done that... once.