r/cpp • u/TheRavagerSw • Mar 12 '26
I feel concerned about my AI usage.
I think use of AI affects my critical thinking skills.
Let me start with doc and conversions, when I write something it is unrefined, instead of thinking about how to write it nicer my brain shuts down, and I feel the urge to just let a model edit it.
A model usually makes it nicer, but the flow and the meaning and the emotion it contains changes. Like everything I wrote was written by someone else in an emotional state I can't relate.
Same goes for writing code, I know the data flow, libraries use etc. But I just can't resist the urge to load the library public headers to an AI model instead of reading extremely poorly documented slop.
Writing software is usually a feedback loop, but with our fragmented and hyper individualistic world, often a LLM is the only positive source of feedback. It is very rare to find people to collaborate on something.
I really do not know what to do about it, my station and what I need to demands AI usage, otherwise I can't finish my objectives fast enough.
Like software is supposed to designed and written very slow, usually it is a very complicated affair, you have very elaborate documentation, testing, sanitisers tooling etc etc.
But somehow it is now expected that you should write a new project in a day or smth. I really feel so weird about this.
18
u/peterrindal Mar 12 '26
I feel the tension too. Sometimes it good to go fast but sometime you should force yourself to be in the driver seat.
I think when you give up too much control to the llm, your medium term productivity declines. You lose an understanding of what happening. Maybe you can claw it back by asking enough question but you've lost productivity. You end up in a loop and lose context.
My current thinking is that slow is fast. You must force yourself to truly parse and think about the code. Not a quick, yep that's good. Even if it is.
This active engagement is important to keep the longer term productivity high. At least if you care about the quality.
I think it's fine if the llm is doing the writing as long as you are the one crafting the narrative and doing a true final sign off.
That's my current thinking. Slow down, be a critical participant.
11
u/James20k P2005R0 Mar 12 '26
There's unfortunately never been an effective shortcut for learning or experience other than doing the thing yourself. Its just how humans work
I think its easy to convince yourself that substitutes for this are effective. But that exact process of your brain wanting to substitute the easy solution instead, is exactly the same thing as not actually learning - because learning is a certain amount of active brain work and requires a fair bit of effort that we tend to avoid by default
This is one of the reasons why I avoid LLMs - there's certain speedups that would be nice to have, but I know for sure in the long term certain skills will go out of the window. I'm happy to sacrifice certain skills that I think I'll never need - mental arithmetic vs using a calculator is one of them - but I don't think code and system architecture is a good one to lose
The thing that's really important to develop is the skill of being able to generate that feedback yourself. Is this good code? Should I rewrite this? How does this fit into the architecture of what I'm writing overall? That comes from a lot of experience and practice, and the only way to get that is to make a lot of mistakes
32
u/kitsnet Mar 12 '26 edited Mar 12 '26
Well, AI or not, but you are posting in a C++ discussion sub and your post contains nothing about C++, except maybe for vague mention of "library headers".
7
u/v_maria Mar 12 '26
i mean it probably is but then again, do you really need them? thats up for you to decide
10
u/SyntheticDuckFlavour Mar 12 '26
Why is this a bad thing? If documentation is poor, that is a deficiency on part of the library authors, not you. You are just using a tool to gain understanding of the API.
97
u/nosrac25 C++ @ MSFT Mar 12 '26
Reminds me of this blog post: https://danielmiessler.com/blog/keep-the-robots-out-of-the-gym
If your goal is to accomplish a task, it may be best to lean on all tools available. If your goal is to think and improve your skills, using AI as a crutch is probably not helping you achieve your goal.
17
u/Lunarvolo Mar 12 '26
It's great for asking questions, don't ask for answers.
4
u/Snoo26183 Mar 12 '26
It was mentioned that one should stick to the questions, not answers, and I do agree. When conducting a review, you may try to analyze the snippet wholly, ignoring the nitpicks, but do not ask it to fix itself. Use it as a partner with which you quarrel, arguing your decisions.
1
u/TomDuhamel Mar 14 '26
It depends how you use it. Don't make it do your work. Instead, consult it like you would a tutor or teacher. Ask it questions.
If you don't know how something works, make it explain it to you. And it you need to know more, you now have the vocabulary to look it up.
Ask it to evaluate your code (that you already wrote), to suggest improvements, better methods, etc.
1
u/buovjaga Mar 14 '26
William J. Bowman recently wrote a helpful breakdown: Against Vibes: When is a Generative Model Useful
From the conclusion:
3
u/pleaseihatenumbers Mar 12 '26
You claim that it is now expected that you finish your projects in a day, but it also seems to me like you do hobbyist work. If this is the case and nobody is putting pressure on you I'd just advise you to do the work in the way you find most fulfilling; to give a personal anecdote in my spare time for the last few years I've been developing a game engine, and I don't use LLMs mainly because it would be less didactic and fun.
To give some context I also do believe that outsourcing all my thinking to LLMs is a bad thing so I tend to avoid it in general but regardless of this and other ideological issues I think you should engage with hobbies in the way that's most fun to you, not in the way that's most "productive". If this is your job it's a different matter.
4
u/rileyrgham Mar 12 '26
Yes. ...
1
u/def-pri-pub Mar 12 '26
I would say not to feel too bad, but to make sure you double check it's work. I'll admit that I was more of an AI/LLM skeptic two+ years ago, but the tooling has gotten fairly good this past year, even if there are still issues.
I get a bit annoyed at the term "slop" when it comes to AI. Not all AI output is slop. I've seen lots of humans, long before this generative AI boom, produce some real slop.
AI really is going to be a force multiplier. Like any tool, if you know what you are doing and can use it properly you'll fly. But if you don't have a clue but act like you can you're going to make some really bad stuff.
1
u/Jeroboam2026 Mar 12 '26
We have to find the right balance which is pretty hard. I know a little bit about a lot of different languages but I don't know a lot about any specific one so AI is a great tool to get you out of a bind.
I have caught myself having really dumb questions and not even looking at times so yeah it's a balancing act I think.
1
u/DTCFriendNotGuru Mar 12 '26
It sounds like you are caught in a common operational trap where the demand for velocity is outstripping the time required for high quality engineering. When a company expects a complex project to be completed in a single day it creates a bottleneck that forces you to choose between deep thinking and basic delivery. This pressure often leads to using models as a crutch for poorly documented libraries which can erode your long term leverage as an architect.
Have you discussed with your leadership how these current speed expectations are impacting the technical debt and maintenance overhead of the codebase?
First you should try to categorize your tasks into high stakes logic that requires zero AI and low stakes boilerplate that is safe to automate.
Second you might want to implement a strict "human in the loop" review process for any code generated to ensure the data flow still aligns with your original design.
Finally focus on setting clearer boundaries around your sprint capacity to ensure you have the mental space for the deep work that defines a senior role. Reclaiming your workflow is more about headcount efficiency than just raw output speed.
1
u/germandiago Mar 13 '26
There are two ways of thinking: short-term and long-term. AI-only as-fast-as-possible delivery is short-term thinking.
Not to say you cannot use it here and there. But you have to spend time in architecture, understanding most of the code, etc. Otherwise, what you will face after realease is hell, and for maintenance, the same.
1
u/sam_the_tomato Mar 13 '26
Just use the best tools available. That's what the smart people are doing. Even the boomers at the Institute of Advanced Study are dual wielding AI Agents.
1
u/Realistic-Reaction40 Mar 13 '26
The writing point really resonates there's a difference between using AI to handle genuinely tedious boilerplate and letting it replace the thinking you should be doing yourself. I've tried to be more intentional about it, using tools like Runable for the pure workflow automation stuff and keeping the actual design and writing decisions manual. Doesn't fully solve the urge but having clearer boundaries helps.
1
u/_Hi_There_Its_Me_ Mar 13 '26
It feels like you need to break up the work with some personal time and I mean no disrespect. You’re the employee not the robot. You’re what’s valuable to your company. Also the part about only positive feedback is the scary part. You need to have a night out, try a new hobby with some friends, our frankly find a different team if you have no positive feedback from your peers. Hang in there man, don’t listen to the internet doom-sayers and chicken-little’s, it’s going to be okay.
1
u/Infamous_Bread_6020 Mar 16 '26
I use Gemini regularly for my research and writing code. It’s like having an assistant. Think “pair programming”. However, I’m an active participant. I don’t copy paste and expect it to run. I study what Gemini wrote. I maybe add or subtract things and maybe fix a bug or two that was there in the Gemini developed code.
It’s really useful. I think my productivity has increased. Also critical thinking. Because I’m not blind. I understand what is going on and I set the narrative.
Critical thinking doesn’t mean knowing all the algorithms. Neither does it mean fixing a bug. In this day and age, critical thinking means your approach to the problem and the design of the solution. Based on your expertise and experience, you design a solution and Use the LLM to generate a candidate implementation.
But you are the expert, you designed that solution and using your critical thinking skills you validate the code.
1
u/RevRagnarok Mar 17 '26
AI is bad, so yes, you should feel bad.
-1
u/Illustrious-Option-9 Mar 12 '26
This is the future. Do put some time to understand what the model is writing though, in order do keep your cognitive dept in check.
0
u/define_MACRO-DOSE Mar 12 '26
For this reason. I tend to only use AI for solidifying concepts analogously, furthering my own knowledge, or things that are mundane but would take me exponentially longer to do (things like sales packages and price tiers for my websites sales page)
-7
u/No-Dentist-1645 Mar 12 '26
Ok, so what? People on reddit are overwhelmingly anti AI, but do not think that means that even touching AI is a cardinal sin or something. Using AI won't make you stupid, nor will it make you forget your existing programming skills.
All that AI is is simply just anoter tool on a developer's toolchain. Just like an IDE, a compiler, or a debugger. There's a whole "spectrum" of how people use this tool. Sure, there are "vibe coders" that just ask claude to write an entire program for them, but these are usually people who had zero prior programming experience, and don't know how to make an application otherwise. Most people are experienced developers, they are able to code review the AI's output, and make refinements and fixes as needed.
Pretty much every developer I know, from entry level to senior, uses AI in one way or another. It objectively helps speed up a developer's productivity, when used effectively you can do much more in a single day that if you do not use it at all. It excels at "simple" tasks with simple solutions, such as writing json or networking boilerplate. You can just treat it as a "dumb intern", you can ask it to work on simple tasks and it will give you code, but you need to review it carefully and make sure there aren't any mistakes
-1
u/HommeMusical Mar 13 '26
I'm sorry, and I agree, but this has absolutely nothing to do with cpp, and I see posts like this almost every day on some subreddit or other.
0
u/[deleted] Mar 15 '26
[deleted] — view deleted comment
36
u/[deleted] Mar 12 '26
[removed] — view removed comment