this post was submitted on 26 Feb 2025
106 points (96.5% liked)

Programmer Humor

34449 readers
225 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 2 weeks ago (3 children)

You all realize pretty soon no human is going to update an existing code-base?

Who wants to spend their time understanding 10 year old legacy code? They'll just feed it into an AI and tell it to add or fix a feature, then generate tests, and file a PR.

If it ends up having an airplane do a loop on take-off or sending your paycheck to Antarctica ๐Ÿคท๐Ÿปโ€โ™‚๏ธ

[โ€“] [email protected] 1 points 2 weeks ago (2 children)

I think what's really going to happen is that programming will focus on writing contracts that AI agents have to fulfill. You'd specify the behavior you want, memory constraints, runtime complexity, etc. And then the agent has to figure out how to produce code that meets the specification.

[โ€“] [email protected] 1 points 2 weeks ago (1 children)

Isn't this COBOL or 4GL or something?

[โ€“] [email protected] 1 points 2 weeks ago

I'm thinking something more along the lines of Haskell or Idris type definitions. You can use that to specify the function signature, and that becomes the contract that the function has to fulfill.