Thought I would express how AI has helped me improve my rLUA coding skills as well as formatting. Completely learned how to use modules rather than using my previous strategies of just hardwiring tables/variables in multiple different scripts. Has helped me so much.
Not sure if this has been asked here or of it’s looked down upon but how do you guys/scripters feel about using AI such as gpt or other stuff to help you code? Personally, I’ve found it to be insanely helpful, especially when you don’t just copy the code from it but try to read and understand what the AI is fixing/doing for you.
I definitely get a lot of errors sometimes in scripts and AI is incredibly helpful finding these errors and solving them and then explaining what they did instead of just spoonfeeding me the code which has definitely improved my skills by a lot.
I try not to use it too much but for small errors or typo’s I can’t seem to find, it does a really good job. I also use it to format my code when it’s really messy.
I find AI extremely helpful, especially when you’re trying to understand how and what its doing for you instead of copy and pasting.
My overall perspective of using AI is highly favorable of it, it doesn’t always fix/solve your issues first try but through trial and error it tries to adapt and learn through multiple tries and tests. It sometimes takes up to an hour and many tests/different versions of code but eventually you will either completely solve the issue or the AI will make a placeholder for you and generate many different versions that you can use as a placeholder/idea.
Lastly, the most impressive thing about AI is that you can force it to adapt and give it prompts such as “This current logic/function isn’t working correctly, lets try a different approach such as using “runservice” instead of a wait loop” etc, and you can get the AI to try something completely different until you end up finding the solution, or atleast generating a different idea to use.
Last thing, one of the most impressive things about AI, chatgpt specifically(from experience) is that if the logic of your script isn’t working, you can research different types of functions online, such as devforum, you can copy the post or piece of text that explains how a function works, and you can tell chatgpt to use that information as a reference and build the code using that 3rd party information to learn and innovate from. For example if you’re telling chatgpt to make a code that converts a numbervalue to a text, chatgpt keeps trying the same logic over and over, so I go to roblox script documentation and find the tostring function, I copy the documents text explaining how tostring works, and tell gpt to use it to try a new approach, it learns from the information and uses tostring to convert number to text and code ends up working. I couldn’t think of a good example so this is very random but thats just an idea/example of how AI can use information to learn and innovate previous versions instead of repeating the same logic/information.
Don’t mean to ramble on but I have improved my scripting by a large margin ever since AI was released, I read and understand what the AI created/fixed and then use the code to replace my previous code or use as a reference to improve my previous code.
Apologies for the rant but just wanted to express how AI has personally improved my skills.
Just curious what you guys think of it and how you use it.
TL;DR: How do you use/benefit from AI when writing code
, or what are your overall thoughts on it.
Keypoints from personal experience
- AI can adapt and learn from information given to it
- AI can explain what it created/fixed for you instead of just spoonfeeding you the solution
- AI can format messy code as well as add in text statements to explain code(Eg. --This part of the script controls the cooldown settings)
- AI can spot typo’s or errors insanely quickly, useful for brainfog or just having a slow moment
- You can empower Ai to try different approaches rather than trying the same logic over and over
- AI will continuously try to improve/fix code through trial and error
- Lmk if I’m missing anything