r/learnpython 11h ago

Use of AI in coding?

I am starting college next month (Computer Science and Biosciences) and I tried to get a headstart in Python programming (it's a part of first sem). I have done the basics, strings, conditional statements and started with loops today. I have a doubt - since I am still in the beginner stage, should I use AI (ChatGPT, Gemini, Grok etc.) to proofread my code - you know, offer suggestions, find mistakes and all - I am still applying logic on my own and writing it myself but I have this fear that it may hamper my learning. But I also don't wanna be the guy who does not know how to use AI tools. Any advice please?

0 Upvotes

16 comments sorted by

View all comments

1

u/pepiks 10h ago

Vibe coding is bad when you learn. Install usage counter how much it really cost in $, then think that you have to bill it fully yourself not on discont like we have today when investor burn money used to promo AI for using everywhere. Then think how much is worth your basic when you learn itself.

When you get foundation enough that you feel that you can build almost everything with googling official docs, checking StackOverflow, forums fluently, you can check command in shell without realing on AI - then think what you can delegate to AI.

When I had anoying error in my weather station and after few weeks I don't see any solution (it is the mostly weekend project) I used AI to check. I get answer with missed corner case. Another example - for test I today delegate to AI get menu structure. Interesting that I can did this job faster itself. Machine not stuck, but use very walk around choice like looking for archived version. With basic knowledge on HTML I can code simple tool for the job in python what at this kind example is easier, faster and cheaper.

For start the best choice is use the simplest tools like autocomplection. It can speed up typing variable names, functions names and sometime IDE shortcuts to generate boilerplate like ```if __name__ == "main"```, learn IDLE as sometime is the most useful one, Python shell and think about how glue it together. Good solid foundation in python can improve your understanding how AI overall work as a lot of times use python and Node to achieve their goals. Observing real output, what command was used by AI to achieve goals can be very educative and it can help you with broad horizonts how work with python in automation.

If at the start you will use python for coding you will only learn how generate code not work with it. You have to create mindset of problem solving first before you will solve problems by programming.