| ▲ | HumblyTossed 3 hours ago | ||||||||||||||||||||||
The use of LLMs will lead to homogeneous, middling code. | |||||||||||||||||||||||
| ▲ | meowface 7 minutes ago | parent | next [-] | ||||||||||||||||||||||
For a few years, yeah. Eventually it will probably lead to the average quality of code being considerably higher than it was pre-LLMs. | |||||||||||||||||||||||
| ▲ | munk-a an hour ago | parent | prev | next [-] | ||||||||||||||||||||||
Middling code should not exist. Boilerplate code should not exist. For some reason we're suddenly accepting code-gen as SOP instead of building a layer of abstraction on top of the too-onerous layer we're currently building at. Prior generations of software development would see a too-onerous layer and build tools to abstract to a higher level, this generation seems stuck in an idea that we just need tooling to generate all that junk but can continue to work at this level. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | cedws 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
It does. I’ve been writing Go for long enough, and the code that LLMs output is pretty average. It’s what I would expect a mid level engineer to produce. I still write code manually for stuff I care about or where code structure matters. Maybe the best way is to do the scaffolding yourself and use LLMs to fill the blanks. That may lead to better structured code, but it doesn’t resolve the problem described above where it generates suboptimal or outdated code. Code is a form of communication and I think good code requires an understanding of how to communicate ideas clearly. LLMs have no concept of that, it’s just gluing tokens together. They litter code with useless comments while leaving the parts that need them most without. | |||||||||||||||||||||||
| ▲ | bee_rider an hour ago | parent | prev | next [-] | ||||||||||||||||||||||
Do LLMs generate code similar to middling code of a given domain? Why not generate in a perfect language used only by cool and very handsome people, like Fortran, and then translate it to once the important stuff is done? | |||||||||||||||||||||||
| ▲ | saghm an hour ago | parent | prev | next [-] | ||||||||||||||||||||||
You might even say that LLMs are not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt. | |||||||||||||||||||||||
| ▲ | awesome_dude 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
I'm not sure if that's a criticism or praise - I mean, most people strive for readable code. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | throwaway613746 an hour ago | parent | prev [-] | ||||||||||||||||||||||
[dead] | |||||||||||||||||||||||