Can AI Help with Simple Code Reviews?

0
4
Asked By CleverNinja27 On

I recently started learning C# for game development in Unity, and while I'm getting the hang of Unity itself, I've struggled with programming in the past. I often found myself just copying and pasting scripts from others or using AI to generate code without truly understanding it. Now, I'm determined to improve my skills, but I frequently end up writing overly complex and bloated scripts. Is it possible to ask AI for help in reviewing my code and suggest simpler or shorter alternatives? I know there are multiple approaches to achieving the same result in game scripting, and looking at my code can be overwhelming. By the way, I don't really have anyone to help me out with this.

3 Answers

Answered By TechyMcCoder On

I wouldn't recommend relying solely on AI for code reviews. I've encountered many cases where the AI suggested overly complicated solutions for simple problems. For example, it once tried to implement an entire authentication framework when all I needed was a simple attribute adjustment. The key is to have enough knowledge to spot when the AI is going off track and creating unnecessary complexity.

Answered By LearningCoder21 On

That's interesting, but do you think I need a basic review instead? It sounds like what you really need is a mentor or someone more experienced to guide you. Maybe look for community forums or online groups where you could connect with fellow developers!

CleverNinja27 -

Unfortunately, I don't have any programmer friends and I can't afford mentoring courses. I'm trying to make the most of the resources I have!

Answered By GameDevGuru99 On

Honestly, AI can be useful for code reviews, but you should treat it like feedback on an essay or an email. It can provide valuable suggestions, but sometimes the feedback is just off. If you're not comfortable assessing the advice, it might not be the best option for you. However, if you can discern good suggestions from bad ones, using AI for code reviews can be really helpful.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.