←back to thread

448 points nimbleplum40 | 2 comments | | HN request time: 0.007s | source
Show context
01100011 ◴[] No.43566393[source]
People are sticking up for LLMs here and that's cool.

I wonder, what if you did the opposite? Take a project of moderate complexity and convert it from code back to natural language using your favorite LLM. Does it provide you with a reasonable description of the behavior and requirements encoded in the source code without losing enough detail to recreate the program? Do you find the resulting natural language description is easier to reason about?

I think there's a reason most of the vibe-coded applications we see people demonstrate are rather simple. There is a level of complexity and precision that is hard to manage. Sure, you can define it in plain english, but is the resulting description extensible, understandable, or more descriptive than a precise language? I think there is a reason why legalese is not plain English, and it goes beyond mere gatekeeping.

replies(12): >>43566585 #>>43567611 #>>43567653 #>>43568047 #>>43568163 #>>43570002 #>>43570623 #>>43571775 #>>43571852 #>>43573317 #>>43575360 #>>43578775 #
fluidcruft ◴[] No.43568047[source]
I'm not so sure it's about precision rather than working memory. My presumption is people struggle to understand sufficiently large prose versions for the same reason a LLM would struggle working with larger prose versions: people have limited working memory. The time needed to reload info from prose is significant. People reading large text works will start highlighting and taking notes and inventing shorthand forms in their notes. Compact forms and abstractions help reduce demands for working memory and information search. So I'm not sure it's about language precision.
replies(2): >>43568144 #>>43571228 #
card_zero ◴[] No.43568144[source]
So is more compact better? Does K&R's *d++ = *s++; get a pass now?
replies(8): >>43568588 #>>43569499 #>>43569619 #>>43570182 #>>43571065 #>>43571967 #>>43572616 #>>43580134 #
1. fluoridation ◴[] No.43569499[source]
No, but *++d = *++s; does.
replies(1): >>43569759 #
2. card_zero ◴[] No.43569759[source]
That means you have to point just before the source and destination.

(Yeah, I forgot the while: while *d++ = *s++;)