TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using AI Generated Code Will Make You a Bad Programmer

53 pointsby cmpit7 months ago

15 comments

artemsokolov7 months ago
1972: Using Anything Other Than Assembly Will Make You a Bad Programmer<p>1995: Using a Language with a Garbage Collector Will Make You a Bad Programmer<p>2024: Using AI Generated Code Will Make You a Bad Programmer
评论 #41919060 未加载
评论 #41920815 未加载
评论 #41920479 未加载
评论 #41919644 未加载
评论 #41922549 未加载
评论 #41919894 未加载
评论 #41919523 未加载
评论 #41929277 未加载
评论 #41920753 未加载
评论 #41923314 未加载
评论 #41934480 未加载
评论 #41920712 未加载
评论 #41920944 未加载
评论 #41920819 未加载
budududuroiu7 months ago
Copilot and AI generated code 100% has degraded code quality, judging simply by the now infamous metric about code churn in repositories shooting up after copilot was introduced.<p>The thing that bothers me is that your colleagues will use AI, your bosses will see it as progress, yet not realise the time saved now is going to be wasted down the road
Alifatisk7 months ago
This has been my concern for a while, that switching from basic autocomplete to ai generated code, copilot or switching the Cursor ide will make me stupid and forget how to write the most basic stuff without needing those tools again. I am very scared of losing my ability to write the code by myself again thanks to ai.<p>If it wasn&#x27;t for that, I&#x27;d switch to Cursor or use copilot in a instant, because honestly, I&#x27;ve asked some ai tools like Claude for help a couple of times, and those has been for tasks that I know more than one would need to be involved in to complete that, but with Claude, I solved it in a couple of hours, incredible stuff!<p>Also, if it wasn&#x27;t obvious, I am not claiming that this is the case, these are just my feelings, I would love to be convinced otherwise because then I might switch and try out the luxury QoF others are having.
评论 #41921429 未加载
throw161803397 months ago
My ChatGPT use falls into two categories:<p>1. Having it perform mechanical refactorings where there&#x27;s no creativity involved. I&#x27;m hacking on a program that was written in the early 2000s. It predates language support for formatted IO. I had ChatGPT replace many manual string concatenations with the equivalent of sprintf. It&#x27;s easy enough to test the replacements at the REPL.<p>2. Questions that would be unreasonable or impossibly tedious to ask a person.<p>Describe in detail the changes from language version X to language version Y.<p>Which functions in this module can be replaced by library functions or made tail recursive? This definitely misses things, but it&#x27;s a good starting point for refactoring.<p>Is there a standard library equivalent of this function? I regularly ask it this, and have replaced a number of utility functions.<p>Give examples for using <i>function</i>.
评论 #41921780 未加载
marginalia_nu7 months ago
Yeah I don&#x27;t think this is a good take.<p>In a learning context, sure, you probably should not be using copilot or similar, the same way you shouldn&#x27;t be using a calculator when doing your basic arithmetic homework.<p>Beyond that, this just seems like a classic scrub mentality hangup. If a tool is useful, you should use it where appropriate. You&#x27;d be a fool not to. If it&#x27;s not useful, then don&#x27;t use it.
Rzor7 months ago
I guess you could extrapolate this in _some_ scenarios as: not using AI-generated code could get you fired. The conversation about how people are doing their work 90% faster feels exaggerated, but 20-30%? I can definitely vouch for that. Some employers will certainly want you to deliver results faster, especially if they are seeing results with your colleagues.<p>Buckle up, LLMs are here to stay and will likely continue improving for a while before they plateau.
BugsJustFindMe7 months ago
&gt; <i>You May Become Dependent on Your Own Eventual Replacement</i><p>If you&#x27;re going to be eventually replaced, and I absolutely believe that even the best of us will, you may as well get in on the ground floor to extract value for a bit before that happens.<p>Not writing your own code doesn&#x27;t need to mean turning your brain off. You still need to look at what came out, understand it, and spot where it didn&#x27;t match your needs.
评论 #41919361 未加载
idopmstuff7 months ago
Yeah, probably true, but joke&#x27;s on you - I&#x27;m just a B2B SaaS PM so making me a bad programmer is a huge step up!<p>But in all seriousness, these models are getting to the point where they&#x27;re really useful for me to just build one-off tools for my own use or to prototype things to show other people what I&#x27;m looking for (like an interactive mockup). That&#x27;s the power of turning a non-programmer into a bad programmer, and it&#x27;s certainly worth something!
评论 #41920150 未加载
cranberryturkey7 months ago
fun fact: after 25 years as a software engineer in silicon valley, I&#x27;m convinced nobody cares about code quality and they never have.
评论 #41918189 未加载
评论 #41920382 未加载
评论 #41917529 未加载
评论 #41919143 未加载
ErikBjare7 months ago
I take issue with the first and major point: &quot;You Rob Yourself of Learning Opportunities&quot;<p>My experience has been quite the opposite: it speeds up my rate of work as I get answers faster, and thus gives me more learning opportunities in a workday.
chairmansteve7 months ago
Using an excavator will make you bad at shovelling.
rerdavies7 months ago
On the other hand, not using tools that increase your productivity by up to 50% will make you an unemployed programmer. &lt;shrugs&gt;
anarticle7 months ago
TL;DR: shipped<p>More specifically, I think code quality is a luxury that not everyone has if you work for dumb corpos who think that moving the gantt chart block left will speed up development.<p>The answer there is probably don&#x27;t work for those people, but salaries cap out at some point and the allure of megacorps is there.<p>I&#x27;m a CS old head, who has manually allocated &#x2F; managed memory, and built what would be considered stupid data structures to support scientific efforts.<p>For me, using AI and getting 0 to 1 experience in languages&#x2F;frameworks I don&#x27;t know is ultra. Combining those skills has made me some money in shipping small software, which has been fun.
JohnMakin7 months ago
While I agree with the spirit of this post, it seems a bit misguided on several points.<p>1) I do not believe AI will ever replace programming as a practice, because people will still need to read&#x2F;review the code (and no, I don&#x27;t personally believe LLM&#x27;s are going to be able to do that themselves in the vast majority of cases)<p>2) while the &quot;script kiddie&quot; characterization is a bit of an unfair generalization, there is some truth to this. I disagree that using AI to generate code puts you in that realm automatically, but I have seen quite a few cases of this actually happening to give this point some merit.<p>3) Using AI generated code atrophies your skills no less than using someone&#x27;s imported library&#x2F;module&#x2F;whatever. Yes, I probably couldn&#x27;t write a really good merge sort in C off the top of my head anymore without thinking through it, but I don&#x27;t really have to, because a bazillion people before me have solved that problem and created abstractions over it that I can use. It is not inherently bad to use other people&#x27;s code, the entire software world is built on that principle. In fact, it&#x27;s an extremely junior mindset (in my view) that all code you use must be written by your own hand.<p>4) &quot;code being respected&quot; is not really a metric I&#x27;d ever go for, and I&#x27;m not sure in my career so far I&#x27;ve ever seen someone push a big pull request and not have a bazillion nitpicky comments about it. Respecting other people&#x27;s code doesn&#x27;t seem to be very common in the industry. I struggle to think why I personally would even <i>want</i> that. Does it work? Is it readable&#x2F;maintainable by someone other than me? Is it resilient to edge cases? If all yes, good, that is all I really care about.<p>5) &gt; If you&#x27;re someone who has no actual interest in learning to code, and instead see AI as more of a freelancer—telling it stuff like &quot;make a kart racer game,&quot; and &quot;that sucks, make it better&quot;—then none of this really applies to you.<p>I mean, sure. I have very little interest or joy in &quot;coding.&quot; I like building, and coding is a means to that end. Again, seems like a very junior mindset. I know people <i>do</i> find an enormous amount of joy in it for the sake of it, I am not one of those people, and that&#x27;s fine. Usually it drives me to create better abstractions and automation so I don&#x27;t have to write more code than I want to.
评论 #41920449 未加载
mjtechguy7 months ago
Using AI generated code will also make me a programmer I could never be. Been an infra and cloud guy, so this has been a game changer for me to actually create MVPs of things that have only ever existed in my head. I love it.