←back to thread

1455 points nromiun | 3 comments | | HN request time: 0s | source
Show context
xmprt ◴[] No.45076575[source]
This is one of the reasons I fear AI will harm the software engineering industry. AI doesn't have any of these limitation so it can write extremely complex and unreadable code that works... until it doesn't. And then no one can fix it.

It's also why I urge junior engineers to not rely on AI so much because even though it makes writing code so much faster, it prevents them from learning the quirks of the codebase and eventually they'll lose the ability to write code on their own.

replies(5): >>45076587 #>>45076630 #>>45076642 #>>45080089 #>>45082070 #
mupuff1234 ◴[] No.45076630[source]
Or maybe it will actually increase the quality of software engineering because it will free up the cognitive load from thinking of the low level design to higher level architecture.
replies(1): >>45076675 #
dsego ◴[] No.45076675[source]
That's my fear, it will become a sort of a compiler. Prompts will be the code and code will be assembly, and nobody will even try to understand the details of the generated code unless there is something to debug. This will cause the codebases to be less refined with less abstraction and more duplication and bloat, but we will accept it as progress.
replies(2): >>45076722 #>>45077707 #
1. mupuff1234 ◴[] No.45076722[source]
Funny, I'd say that codebases nowadays usually have too many abstractions.
replies(1): >>45077177 #
2. dsego ◴[] No.45077177[source]
Some certainly do. I have also noticed that the format of the code and structure used depend more on tools and hardware the developer uses rather than some philosophical ideal. A programmer with a big monitor could prefer big blocks of uninterrupted code with long variable names. Because of the big screen area, they can see the whole outline and understand the flow of this long chunk of code. Someone on a small 13" laptop might tend to split big pieces of code into smaller chunks so they won't have to scroll so much because things would get hidden. The other thing is the IDE or editor that's used. A coder who relies on the builtin goto symbol feature might not care as much about organizing folder and file structure, since they can just click on the method name, or use the command palette that will direct them to that piece of code. Their colleague might need the code to be in well organized file structure because they click through folders to reach the method.
replies(1): >>45077344 #
3. mupuff1234 ◴[] No.45077344[source]
Those are all examples for why having a single source for code generation would most likely simply things - basically we will have a universal code style and logic, instead of every developer reinventing the wheel.

And let's face it, 95% of software isn't exactly novel.