r/learnpython • • Jan 05 '24

Why are interpreters required for programming ?

i'm trying to learn python ....i'm hearing a lot of stuff about interpreters....just wanna know what are they for..why are they required...can i learn python without interpreter...without vs code or py charm

Cuz i wrote some codes in python and it worked without connecting python to interpreter ....why is an interpreter necessary

Plz enlighten me

14 Upvotes

71 comments sorted by

View all comments

0

u/[deleted] Jan 05 '24

[deleted]

-70

u/[deleted] Jan 05 '24

If ide's make it easier to write code than does it mean not using an ide would make me a better programmer than majority

3

u/rayofhope313 Jan 05 '24

You are mistaken in your understanding, if we say that not using ide makes you better programmer, then also not using Google to search for the issues you are facing makes you better programmer. Now we just told 99% (just to not say 100%) of programmer in the world they are not that good.

What makes you a better programmer is understanding how it works and why, how to write it more efficiently and with lower amount of bugs, how to test it, how to write clean code, to write comments for your code and so on. I know this might be discouraging, but you just started, use a good idea that helps you write cleaner code, recognise what are you writing, helps you run your projects and to finish your code faster. And just enjoy the journey. Don't try to rush it, especially at the beginning, understanding what is happening, why it is happening, and why it is written like that.

P.S: when you feel you are the worst programmer in the world and question your whole life keep going, we are go through that probably once a week then we feel like the smartest man alive. We all just cycle through these two feelings, especially at the beginning.