r/learnpython • • Jan 27 '24

Chat GPT -- insanely productive

I'm sure this has been said before but I've learned more using chat GPT than slogging through a full blown course.

Am I skipping fundamental understanding from the ground up? Probably!
Have I learned more about python in 12 hours using this method than 12 hours of MITOpen courses? Absolutely.

My biggest hurdle has always been getting started, the entire idea of writing a script has held me back for ages. I can read code and then basically copy it directly. Then, when I want to build on it I have to google the correct syntax over and over to edit one small line
Then, to write something new, I'm utterly lost and end up referring to billions of tabs, github examples, term libraries, and notes just to write 10 lines of code.

CGPT cuts the time by a billion. Don't understand a line in the example? break it down, 3 different ways so an idiot like me could understand
Want to modify a graph in a way you couldn't possibly describe with google? CGPT will shed light on all the right terms and functions in 0.001th of a second.

I know this method is flawed and not traditional, and I think if I was going to make a career out of this I would reach a level of understanding where not learning from the fundamentals up would become a huge problem. I'll miss out on some key conceptual understanding early on maybe, but I couldn't care less if it means I can finally DO something.

I can't understand how else I would do this. What other redflags am I missing? Too good to be true???

Edit: I love the cautious optimists and sage warnings. Let’s be real though: I am not a computer scientist and never will be. Relax, I’m not coming for your job or seeking to taint whatever precious hegemony you’ve adopted. I’m just a kid excited to be empowered to learn a little more about computers and this lil program is helping me get there. Just let me enjoy my small victory please

0 Upvotes

37 comments sorted by

37

u/imperialka Jan 27 '24

IMO not learning the fundamentals of programming on your own is the danger of ChatGPT. It’s fine to use it if you get absolutely stuck on an issue and googling is not helping.

But to be completely dependent on it is just gonna be a disservice to you in the long run when it comes to independent problem solving, developing ideas on your own, and expressing yourself in a language.

1

u/juicy_scooby Jan 27 '24

Try true and this is why I need to be careful to stay away from it as I move past the “absolute novice” stage toward the “kinda getting it” stage It’s just nice to have a leg up, getting started is so hard !

20

u/imperialka Jan 28 '24 edited Jan 28 '24

Yeah I totally understand. But ironically you actually learn more from struggling and figuring it out on your own. You retain better info when you need to go through the meticulous details as to why a solution worked and how your problem arose in the first place. You are not gonna properly remember patterns when you are spoon fed.

Embrace failure so you can become the most badass debugger and programmer in the world.

1

u/MlKlBURGOS Jan 28 '24

Using cgpt for code is like using google translate for a foreign language, you need some basics first.

9

u/[deleted] Jan 27 '24

Yes, ChatGPT is amazing for learning code. It’s also great at giving legit looking code that actually has bugs in it. 

I also noticed at least 3 cases of egregious hyperbole in your post. Be careful about that; the more hyperbolic your language the less credible you sound. 

4

u/juicy_scooby Jan 27 '24

Ah yes sir! My apologies for offending your delicate sensibilities with my wanton and indiscriminate adjectives! Now that I’m aware my credibility on this Internet forum is at stake, I’ll surely reign in my use of extraordinary language to use only terms most exacting and precise. I tip my hat to you, kind observer, and beg that you have mercy on those of us floundering in the mediocrity of misspeak

4

u/BigDaddyAnusTart Jan 28 '24

Dude tries to sound clever but doesn’t understand the difference between adjectives and hyperbole.

2

u/r_spandit Jan 28 '24

I assume OP wrote that using ChatGPT

0

u/[deleted] Jan 28 '24

Most excellent. 

6

u/KarimJosephJr Jan 28 '24

What you are saying about the productivity of ChatGPT in learning Python really resonates, but it brings to mind a crucial concept in cognitive psychology: the ‘Illusion of Competence.’

• Understanding vs. Momentary Help

While ChatGPT provides immediate help (which we all need at times), it might not foster the deep understanding required to build upon more complex concepts. Learning often involves facing challenges and overcoming them, which is crucial for true comprehension.

• ChatGPT as an Educational Tool

That said, I don’t believe ChatGPT is inherently detrimental. In fact, it can be a fantastic educational tool, especially when it breaks down complex concepts into digestible parts that are directly applicable to your projects. Engaging with projects you’re passionate about is immensely valuable.

• Repetitive Queries as a Learning Indicator

Consider how often you might ask ChatGPT the same questions. Frequent repetition could signal a need for dedicated study on those topics. As you delve into more complex material, there’s a risk that ChatGPT may oversimplify foundational knowledge, using loose analogies or incomplete explanations just to reach a higher-level idea.

• Balancing Efficiency and Deep Learning

Efficiency is undoubtedly crucial in our work. Many professionals use ChatGPT and tools like GitHub Copilot. The most effective users, in my opinion, utilize these tools to quickly implement patterns they already understand. They also use them when stuck but make it a point to learn from the experience, turning their research into study material.

11

u/rileyrgham Jan 27 '24

You probably think you have. Cool videos and ChatGPT sucker people into thinking they know it. Similar to someone leaving a Rocky movie and thinking they can fight....

1

u/throwaway6560192 Jan 28 '24

Edit: I love the cautious optimists and sage warnings. Let’s be real though: I am not a computer scientist and never will be. Relax, I’m not coming for your job or seeking to taint whatever precious hegemony you’ve adopted. I’m just a kid excited to be empowered to learn a little more about computers and this lil program is helping me get there. Just let me enjoy my small victory please

Why did you even post this if you wanted no criticism?

1

u/juicy_scooby Jan 28 '24

To get help learning python I guess idk is this the wrong sub /s

3

u/throwaway6560192 Jan 28 '24

Did you post a Python question in all of that? I didn't see it. You asked for any red flags you missed by using GPT. When people answered, you said that they should just let you have the victory and not criticize. It's confusing.

7

u/RedditSlayer2020 Jan 27 '24

You are delusional. Your 5 year older self will agree with me. If at all chatgpt will fill potholes in your road but it is not an entire road construction set.

2

u/[deleted] Jan 28 '24

Delusional is a strong word…

1

u/nog642 Jan 28 '24

I disagree. If used correctly it can be a great learing tool. You need to of course do stuff yourself, but it can give accurate explanations of basic stuff and it is more interactive than a course.

2

u/RedditSlayer2020 Jan 28 '24

You actually agreed with me. Bless you

2

u/AlternativeMany170 Jan 28 '24

It’s like learning math by reading math; the thing you get by putting pen on paper is different, better, and more lasting than the thing you get from the patterns you can remember from having read the math many times. Use GPT but also listen to the voice inside you that tells you you probably can’t do sh* without it. That voice will make you use GPT wisely, hopefully.

2

u/Mach_Juan Jan 28 '24

I agree it’s amazing. Copy/pasting is possible, but the real advantage is explaining concepts I don’t understand interactively and without having to wade through 3 pages of ads to get to the 2 sentences you are interested in because the author of a how to is trying to maximize his seo

2

u/wombatsock Jan 28 '24

Yeah, this. It’s such a blessing not to have to wade through Stack Overflow to find answers to basic questions.

2

u/Dylan_TMB Jan 28 '24

I mean as long as you're honest with yourself that you aren't learning the language then it's fine. But this is like someone saying they are struggling to learn to speak a language when when I put it in google translate I get it.

I will agree chatgpt is great at learning the basics and if you are asking it questions and letting it explain things to you so you can understand them that's fine. But asking chatgpt to generate cope for you, and copy and pasting it and asking it to modify it isn't learning.

However, this is good for my job security so keep at it ☺️

2

u/The_moist_sponge Jan 27 '24

Trying to learn python myself, and ChatGPT has been incredible help. Kids today are so lucky, it's almost like having your own personal tutor on standby 24/7.

2

u/m0us3_rat Jan 27 '24

I know this method is flawed and not traditional, and I think if I was going to make a career out of this I would reach a level of understanding where not learning from the fundamentals up would become a huge problem.

chatGPT is a fantastic tool.

BUT.. yes there are huge BUTs and i cannot lie..

firstly the "fundamentals" are used from the first week till years in when coding AI..

variables and the like.. don't expect to reach a level in python where you don't use any of that .. that is foolish.. there isn't such level.

lists dicts basic python structures are everywhere.

plus most code is read and not written.. so that can't necessarily do that for you unless you have it 24/7 opened.. and copy-paste and expect to summarize for you and explain it..

which might be a problem later on when working or interviewing or etc.

or taking exams.

same thing for actual code during the same things.

or being able to help with really difficult problems ..that didn't have the data to train on..

this is mostly an automated dictionary that makes educated guesses.

it doesn't reinvent the wheel.. just uses what it has very convincingly.

and while its insane at low level.. becomes a problem near max where it can't keep up with the rest..if you feel me.

so yes it will beat up noobs..but it gets destroyed past mid-level.

and if you stick with it.. you will get stuck at mid level where you might not be able to walk on your own.

careful with that.

so .. its a huge crutch that is incredibly dangerous for your career if you rely exclusively on.

now.. now .. it can write a bunch of boilerplate and it can be incredibly useful..

absolutely..

we can't do but raise red flags, you do as you want it's your life.

gl

1

u/[deleted] Jan 27 '24

How does it do with regular expressions? I remember this being a pain point. I don’t use it at all so I am not sure.

1

u/ectomancer Jan 28 '24

In the workplace, ChatGPT reliance is flawed. When you ask a colleague a question:

  1. you won't understand the answer

  2. you won't remember the answer (because you didn't understand it)

  3. you won't learn

  4. when the problem arises again, your colleague will refuse to answer you again (because they told you before)

1

u/Mount_Gamer Jan 28 '24

If you have a memory like a sieve like me, remembering even if you did understand it is still a problem :D

1

u/dogfish182 Jan 28 '24

If you use chatGPT to give you answers you’ll essentially just be regurgitating stack overflow permutations into your codebase.

Where it excels in my opinion is substituting in for a rubber ducky to alleviate an otherwise overworked senior colleague from explaining to many conceptual things too far below their level.

I switched from python to typescript and struggled hard with the typing language. Saying things like ‘I believe I have narrowed this type but my editor disagrees please explain what I’m missing’ and then checking what it tells me against my understanding, reframing the question AND understanding when the idiot is hallucinating, I found it flawed but ultimately EXTREMELy useful.

Also it can just outright write unit tests, so that’s nice

1

u/dodo13333 Jan 28 '24

I am totally in your shoes. Same story. However, whenever I get a chance, I'm also trying to learn basics. For one, I frequently bump into the problems that even CGPT can't solve. Those are usually long-lasting issues that are rarely solved anywhere, including stack overflow and reddit, and usually end up as git issues.

2nd issue is that at one point, while I was pretty confident that everything was running well, my ecosystem spectacularly felt apart. I spent 2 weeks to root cause wtf just happened as I didn't want to repeat the same event in the future. Those 2 weeks had the highest learning curve of my pitifully ai career. Since then, i totally changed my POV regarding problems, and I'll keep learning everything, including HW background, as much as I can with time available.

I'm not shy to use CGPT, I am still a newbie regarding everything, but I'm miles away from ground zero from where I started.

The last point is that I would not accomplish anything without internet, CGPT and some really nice people here at reddit's open source community.

Thank's again to all redditors for patience and support.

1

u/FriendlyAddendum1124 Jan 28 '24 edited Jan 28 '24

It depends I guess on why you want to learn Python. If it's for automating small tasks then GPT do you just fine. If it's for getting a job it absolutely won't help you becuse it doesn't teach you the fundamentals of coding. Many job interviews in big tech won't care so much what language you use but how you think about the problem. Coding teaches you how to THINK about such problems and it's best done from the ground up using very basic techniques.

Variables, loops, conditional statements, memory. These are the important things and can be learnt fairly quickly in any language. Python was written in C which is a very old language, so nothing has changed much! Many coding interviews will explicitly ask you to solve a problem not using Python specific methods but using a simple while or for loop. You don't need GPT for that!

1

u/dogweather Jan 28 '24

I think it's great. To naysayers:

IMO not learning the fundamentals of programming on your own is the danger of ChatGPT

No different than every other junior developer I've worked with who learned from Google Search and S.O.

Lots of online documentation just sucks

And there's a lot of it. And the obnoxious blog posts like "40 Python Tutorials". No one needs 40 tutorials. Just one or two good ones. Yet then you still have to orient yourself to the particular authors' pedagogic style.

"Back in the day" people would find a publisher they liked. Say, O'Reilly. Then, you align your brain with their writing style and you're good to go. I spent thousands of dollars on technical books when I was younger. AI chats are far cheaper—a democratizing force.

I think that a synthesized answer, tailored to the user, built from surveying all the pre-written articles on a subject is great.

1

u/wombatsock Jan 28 '24

It’s weird how salty these replies are. LLMs are an incredible resource for learning code. They have serious problems, but you don’t really encounter them until you’re doing quite advanced stuff.

0

u/[deleted] Jan 27 '24

This is insanely cool

4

u/icarusphoenixdragon Jan 27 '24

Found CGPT’s burner account.

2

u/[deleted] Jan 28 '24

🤣🤣🤣 thanks guys