It's probably fine--unless you care about self-improvement or taking pride in your work.
To be clear, when I write "using AI generated code" in this opinion, I'm referring to letting an AI write code for you--I'm not addressing the use of AI as a learning tool to gain better insight into programming languages and libraries in order to improve the code that you write yourself. (I have opinions on that too.) But if you ever use these tools by writing descriptive method names or comments indicating vague functionality, then allowing an AI to fill in the code, or if you're relying on an AI to learn and understand your own codebase so you don't have to, then I'm writing this at for you.
Reasons to Not Use AI Generated Code
You Rob Yourself of Learning Opportunities
In the early days of the internet, the pejorative "script kiddie" was coined for people who "hack" computer systems without understanding what they're doing or how they're accomplishing it. It's someone who downloads a tool or script that promises to crack a password, access someone else's computer, deface a website, or achieve some other nefarious purpose. Assuming the scripts work as advertised, the kiddies who run them fancy themselves real hackers.
You may think it's a stretch comparing developers who use AI generated code to script kiddies using pre-written hacking tools. I don't.
Serial script kiddies want to be big boy hackers, but they'll never accomplish that by running scripts. The real big boy hackers are the ones writing those scripts--the ones exploring, probing, and truly understanding the vulnerabilities being exploited. Serial AI coders may want to be big boy developers, but by letting predictive text engines write code for them they're hurting the chances of that ever happening. At least for now, the real big boy developers are the ones writing code that those predictive text engines are training on.
It seems self-evident that you can't improve at something without actually doing that thing. You won't improve at chess by not playing games. You won't become a better hockey player by sitting on the bench. You can't learn to play the piano by listening to your mom's Yanni albums--at some point you gotta play yourself. Obviously your skills as a developer will never progress if you don't write code.
Skills You Already Have May Atrophy
But what if you're already comfortable with your skill as a programmer? What if you just want AI to do the boring stuff?--Scaffold a new project, write a factorial or mergeSort function (why do people love getting AIs to write factorial and merge sort functions so much?), generate boilerplate--you know, the mundane tasks.
... continue reading