r/learnpython • • Dec 24 '23

Memorizing syntax

Hello, I am new to Python and programming in general. I am learning Python on EdX, and was wondering how important it is to memorize syntax for different functions like find, replace, convert to upper/lower case, etc. Wouldn't memorizing them be redundant since they can be Chatgpted?

0 Upvotes

48 comments sorted by

View all comments

8

u/Adrewmc Dec 24 '23 edited Dec 24 '23

Most of this is actually in the Python documentation, a lot of IDE have a hover over that will bring up the docstring and tell you the syntax. This is also more accurate than ChatGPT.

You don’t need to memorize it. If you end up using it regularly…you’ll memorize it anyway.

I wouldn’t necessarily call this Syntax though, but parameters of built in functions/methods. There is certainly some syntax that will just have be memorized but the same can be said of anything that takes some skill.

1

u/world_of_delusion Dec 24 '23

gotcha thanks a lot! also wdym by IDE?

2

u/Adrewmc Dec 24 '23 edited Dec 24 '23

It technically stands for Integrated Development Environment, but it’s basically the program that you code in VsCode is an IDE, PyCharm is an IDE, (these are the top two Python IDEs I believe) and there are various other sometimes schools force a particular one on you. (Technically someone is gonna argue notepad is an IDE at some levels)

1

u/world_of_delusion Dec 24 '23

ahh gotcha! much appreciated :)