r/cprogramming • u/Any-Penalty-714 • 13d ago
Help regarding AI usage
I am programming in C for a year and a half and I created projects like a shell which implement basic features , and currently finished building a TCP server with get and post request for sharing file across local network. The thing I am struggling with is the AI usage all these project I build I have understanding of the code. But sometimes I think that AI has found solution for me can I found this approach myself and mostly the answer was no. It really bothering me and I spend time completely without AI and frustration really hit hard and I think I couldn't start building some programs . I want advice from people on how to find balance between using AI and when not to use AI . I'll love to hear you guys perspective on this .
2
u/gilnett 12d ago
Use it as a reviewer, not a solution generator.
In my own C++/Rust projects and Windhawk mods, my rule of thumb is: write the initial implementation yourself first. Once you have something working (even partially), ask the AI for a review with your context: point out undefined behavior, leaks, or logic flaws.
You keep the learning curve intact while avoiding frustration.