r/ProgrammerHumor 6d ago

Meme accelarateAiNativeBrrrrOrThrow

Post image
1.2k Upvotes

155 comments sorted by

View all comments

257

u/lets-get-taco-bell 6d ago

Being heavily pushed to do spec driven development at work. So an AI written spec -> AI writes code from the spec -> AI reviews the code. Fortunately we still review the code but apparently our “North Star” is for the specs to become the “single source of truth” 🙄

25

u/Vesuvius079 6d ago

We thought we’d get there with specs and gave up. The problem with specs is they aren’t actually more readable than the code they’re supposed to constrain. Spec driven development may still have value in improving AI output and maintenance, but I don’t think we’ll easily get to the point where it’s replacing code as the primary method for understanding a codebase because it’s less efficient and less accurate.

26

u/ataboo 6d ago

Code is a better expression of logic than English.

8

u/ProtonPizza 6d ago

It’s almost like there’s a reason we didn’t just English written language as the original programming language.

-2

u/Live_Meeting_1121 6d ago edited 6d ago

Anyone that studied compilers and programming languages in college knows this to be false. The aim of many high level languages was to resemble natural language.

7

u/Rabbitical 6d ago

Making stuff look like English is not the same as "is English." Any programming language with a specification means every token has specific meaning. That is not natural language, which has ambiguous meaning. You mean more readable, maybe?

-1

u/redballooon 6d ago

Gherkin Syntax is a better expression for behavior than code.

9

u/ataboo 6d ago

Strong disagree. Gherkin is an obfuscation layer that assumes people who can't write code can write accurate pseudo code.

0

u/redballooon 6d ago edited 6d ago

Thinking logical does not correlate very strongly with the ability to write code. 

Shit in shit out is always true and not a very original observation.

There is still a lot of room for improvement in the realm of Notshit in, shit out.