r/learnpython • u/world_of_delusion • 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
2
u/CptBadAss2016 Dec 24 '23
Yeah, while amazing chatgpt it is still "dumb". It is a powerful tool to leverage but the programmer has to manage it and proofread everything. Rarely have I had it produce an algorithm that didn't need at least some tweaking. And sometimes it will churn out complete garbage, you'll tell it why its garbage and how to fix it, and it'll try again and churn out the exact same garbage with zero changes. (This is what I mean by "dumb") it's not actually producing code it understands, it's mixing and mashing frankenstein code from other pieces of random code it trained on on the interwebs... And who knows if that bit of code it's reproducing for you now was any good in the first place.