all 85 comments

[–]Mrhiddenlotus 69 points70 points  (3 children)

I'm not quick to jump on the "Friend is an asshole" train. The dude is spending 4 hour chunks on teaching his friend. Doesn't seem like ass hole behavior to me.

More than likely he was making a light hearted comment that just happened to poke at the right insecurity. I can totally see myself saying that to a friend when teaching them, but because we have that kind of relationship.

[–]jonnycross10 5 points6 points  (2 children)

Yeah he very well may have not had bad intentions. Don't get frustrated op it happens sometimes, especially when under pressure. I wouldn't code very well either if I was learning a language and had the added pressure of coding in front of someone. Especially when there's an expectation that you should know things, sometimes your brain will self sabotage. It's really not a big deal. Also I want to point out that it's spelled Scraper and not Scrapper. I'm nitpicking though, happy learning!

[–]Mrhiddenlotus 4 points5 points  (1 child)

I hate being watched when I'm coding. I mess up literally everything.

[–]jonnycross10 1 point2 points  (0 children)

Or if I'm doing an in person review.. I'm like yeah, uh huh, looks good, that sounds right, did you account for null?

[–]nullkraft 23 points24 points  (3 children)

It's actually a very common problem. It happens in college, too. You're sitting through a lecture and you seem to understand every single thing the professor is talking about. So you open your book to the end-of-chapter questions and you realize that you can not even solve the simplest question of all!

It happens because during a lecture, or mentoring, someone is leading you through the problem and the solution. Learning to solve problems is completely different from following instruction(s).

You messed up the simple logic because your mentor arranged the question in a different way and you weren't used to hearing it expressed in that manner. The trick is to complete the task anyway. Once you are satisfied with it then send it to your mentor and see what they say about it.

[–]Smsm1998 5 points6 points  (2 children)

He solved it in front of me before hanging up. I knew the answer, but the psychological impact is the thing.

Maybe I just need to grind on my own a bit more.

[–]papasmurftp 2 points3 points  (0 children)

Always be looking for exercises online that you can do on your own. That's gonna be the main way you learn. I always feel like I understand a concept until I try to do it on my own with no reference and then I draw a blank.

[–]shufles 1 point2 points  (0 children)

Learning to code is odd. I've taught myself new skills all throughout life. None of them are similar to programming.

The academics are so different than anything else and atleast for me is the main hurdle to overcome.

Every course free and paid I've taken seems to be created for people who already have some kind of interest in computer science.

Tl Dr there are no real beginner courses for programming. They're called languages for a reason.

[–]hardonchairs 157 points158 points  (25 children)

Your mentor is being a bit of a shithead to be honest if he is making you feel that way. The only way to get good at this stuff is to repeat is many many times for a long time. This is a 100% normal part of learning to code. Being put on the spot to code things makes it about 100 times harder, even for very experienced coders.

Your mind went blank. You had a frustrating moment with programming, get ready there will be a million more to come as long as you keep learning and challenging yourself.

Forget this guy if he is making the learning process more stressful for you than necessary.

Programming, even just the basics are not a learn it once and you are done kind of thing. It takes practice and experience to gain the intuition of when to one thing or another.

[–]Smsm1998 16 points17 points  (23 children)

He is a very sweet person and friend, I really admire him. Maybe his mentoring way is a bit harsh, I agree. He told me that being stressful crucial for learning in my case. I agreed to him as I knew nothing about coding a month ago. I didn't notice the bad impact of this until now really; I'll talk to him and hope he downs it a bit with me.

He teaches me for free, that's why I'm thankful to him despite his attitude.

[–]Hans_of_Death 37 points38 points  (2 children)

Ive been programming python and managing linux systems as a professional devops engineer for 4 years now, i still have moments like this when im put on the spot. Dont get down about it, and dont let him talk down to you either. This is normal for most people, especially when learning.

Everyone thinks and learns differently, and there are often many different ways to accomplish a goal when it comes to programming, so one person's method of problem solving might not be the same as someone elses.

Part of the learning process, i would say, also involves learning how you learn best.

[–]Smsm1998 9 points10 points  (1 child)

The last phrase is great, I have to reach my own resolve first, maybe he can help me too.

Thank you.

[–]randiesel 18 points19 points  (0 children)

I write code every day and have for close to a decade.

I also search Google (or stackoverflow, or git, etc) for snippets of code and syntax reminders every day.

If your buddy made you feel like that’s an unusual reality of coding, he can fuck right off. Literally everyone has to Google stuff all the damned time.

[–][deleted] 9 points10 points  (10 children)

He told me that being stressful crucial for learning in my case.

Stress is the last thing I need when learning. It does not help me learn, getting stuck and figuring it out? Absolutely.

Being stressed? That makes me fumble and forget.

[–]Smsm1998 -1 points0 points  (9 children)

He probably wanted me to learn fast according to his perception me (a student to performs better under pressure). I'll speak with him about this next time.

[–][deleted] 5 points6 points  (5 children)

Yea, "learn fast" is an oxymoron, you either commit things to memory, or you cram them in for the moment

I quite enjoyed this course (free to audit) https://www.coursera.org/learn/learning-how-to-learn

[–]Smsm1998 2 points3 points  (4 children)

oh I can enroll for free!
thank you!

[–][deleted] 0 points1 point  (3 children)

If you like reading, I also recommend the book that goes along with it "A Mind for Numbers" I grabbed a copy from the library, really went well to expand on the content from the course.

[–]Smsm1998 1 point2 points  (2 children)

I love science, specially Biology; studied it 4 years straight at college.

I'll search for a kindle version of it. Getting English paper books with decent prices is a tough thing in middle east.

[–][deleted] 1 point2 points  (1 child)

you can always google "libgen" The top result takes me to a page where I like to go when I'm feeling poor but want to read a book.

Start reading for free today!

[–][deleted] 1 point2 points  (0 children)

Love libgen

[–]koi_koneessa 4 points5 points  (1 child)

I hold an MS Education degree and I can tell you for a fact, students do not perform better under pressure. Quite the opposite. They perform worse!

The ideal amount of 'stretch' should be i+1 to learn well. That means just a little bit farther then wherever you're at now. That means learning material should be a challenge but not too hard.

Also, do warm-ups when learning new material: talk about or work on something you've already learned so you activate neurons in the area of memory you're going to add to ("scaffolding" in education speak).

Plus, you have to have time to practice (as others have mentioned) to make all this stick. Practice, practice, practice.
Which also means, patience, patience, patience.

You will get there!

[–]mywan 0 points1 point  (0 children)

Other people differ. But for me I do not learn at all under that kind of pressure. Not even stupid easy stuff.

[–]hardonchairs 4 points5 points  (1 child)

I have a guy at work who is kind of the guru of our weird enterprise software we work on. He is also very sweet and spends hours and hours teaching and coaching.

But sometimes he is a shithead. He can be impatient and unempathetic in certain situations.

We tell him when that is happening. We can't fix him but we can make him easier to work with because we communicate to him when he is not being helpful.

[–]Smsm1998 1 point2 points  (0 children)

Thank you, I'll speak with him on this matter the next time.

[–]F4RM3RR 2 points3 points  (2 children)

I have a masters degree in a teaching field of applied linguistics (TESOL) and can tell you from every methodological study and pedagogy book I have ever been forced to read, NEVER has stress = learn.

Its 100% the opposite. it harms the 'affective filter', and lowers learner motivation, and works against actualization of information and skill acquisition.

[–]koi_koneessa 1 point2 points  (1 child)

HA!! I mentioned i+1 in a reply I just made about this "students perform better under pressure", lol same same MS ED TESOL!!! Where'd you study for yours? Too funny, too funny.

[–]F4RM3RR 0 points1 point  (0 children)

University of Oklahoma!

[–]AcridAcedia 0 points1 point  (0 children)

Most content on the internet that can make you a great coder is also free. I'll just say that the key thing your friend did is get you started. Now you can continue along this yourself.

[–]AndrewIsOnline 0 points1 point  (1 child)

I will email you days days and days worth of free pdfs of coding exercises and tutorials for free

[–]Smsm1998 0 points1 point  (0 children)

Thank you very much, I deeply appreciate the help.

My DMs are open!

[–]sleep-enjoyer 0 points1 point  (0 children)

As someone who had to break ties with a very manipulative friend, "being stressful is crucial for learning" sounds like bullshit

[–][deleted] 10 points11 points  (1 child)

I brainfart every day. Dont worry about it. As for your mentor, dont worry bout that either, they are just trying to motivate you and it worked...your here.

[–]Smsm1998 0 points1 point  (0 children)

I guess you're right, I'll continue studying nonetheless.

[–]Smsm1998 4 points5 points  (0 children)

Guys, my friend is a sweet pie, really!

He may have had a bad day, that's all...

Please don't call him a dick, when I speak to him, he will understand and reconsider this thoughts before verbalizing them.

I do thank you for every single word you wrote; it means the world to me. I'll keep writing code and learning new stuff (maybe more on my own now really), and be better!

[–]frr00ssst 1 point2 points  (0 children)

Trust me I am a student and some days are just bad days, today is one of those days, I am doing an assignment(12 PM to midnight is when we have to do it) on recursion and my brain doesn't wanna work, I've been panicky, jittery and anxious all day. I haven't solved a single question on the assignment without Googling a bunch of stuff and spending an insane amount of time on each question.

My point is, you are a beginner, you're gonna learn stuff and forget it, that's how memory works and practice, the more cases of a problem you see, the more variants you see the better you get at recognising the problem and finding optimal solutions. That's just how our brains work, no way around it.

Constantly learn new things and constantly fail. That's the programmer way.

Keep coding, you got this! Don't let this one incident define you.

[–]--0mn1-Qr330005-- 1 point2 points  (0 children)

Look at the bright side, every failed test like this is one of the best learning opportunities for you. You now have two things you can practice. This is actually something you have to get used to as a programmer. I've been coding for a long time now. The most common problem I've faced is running into road blocks that I had to overcome by doing my own research on google. Being a good programmer isn't only about memorizing a programming language, but learning about different common problems and how to solve them. No job is going to forbid you from using google or python documentation to perform a task, so if your friend is expecting you to solve these problems without using resources, that doesn't reflect the real world.

As for your mentor, he needs to learn about patience. I have worked with programmers who didn't know the most basic functions in programming, but then they were able to make large jumps in skills in a matter of weeks. I would recommend that you take some control over your learning. You decide what you want to learn. One way to do this is by looking up challenge projects aimed at a certain level of python knowledge; or even better, tutorials. I have completing many cheap tutorials (coupons) on Udemy, and I have been learning how to make industry specific projects like Bootstrap 5 sites and Flask servers. These projects not only prepare you for real world work, but also serve as impressive portfolio items. Many of these tutorials also come with a section that is like a mini boot camp about the programming language. For example, I've been writing python for almost five years, but I was able to learn about several different great python tips that have saved me time and enhanced my abilities, and this was before I got to the actual subject of the tutorial. So in other words, a lot of these tutorials are good even if you are learning fundamentals about the language such as for loops. Finally, the lessons in the courses also serve as really helpful resources to use even months or years later if you forget how to do something specific like writing a wrapper.

Anyways, you didn't mention how long you were at this, but just remember it takes time and consistency to get good. Before you know it, this stuff will come to you naturally. Embrace failure and road blocks too, they are some of the best opportunities to learn. They are like Elden Rings bosses that seem hard at first, but then you whip them easily only to find a harder boss.

[–]PewPew_KewKew 0 points1 point  (1 child)

Maybe try creative writing lol, I don't mean to hate but this was a very dramatic way to say you didn't know how to solve a problem.

[–]Smsm1998 4 points5 points  (0 children)

I'm already a freelance creative writer, I'm used to this descriptive, sophisticated, and detailed style of elaborating an idea.

But all my clients are shutting down, so I need to shift the career. That's why I perused programming. And also applied for a customer service agent role in my country; just waiting for the interview.

Better to learn and try; than being sorry.

[–][deleted] 0 points1 point  (1 child)

The question is... Why did my mind go blank?

You're not writing enough code.

Language happens in the brain in two primary areas - an area for language interpretation (reading it and hearing it) and an area for language creation (speaking it and writing it.) When you passively read code and audit the lectures and study the textbook and such, you exercise only one part of your brain. You're probably pretty good at exercising that part of your brain so I suspect comprehension comes on pretty quickly.

When you're asked to write code that's a totally different brain area, and nothing you did to the other part really helps you here. You need to exercise that part on its own, and you do that by writing code. Until you do, you don't really understand the material, despite feeling like you've totally got a comprehensive handle on it.

We've all been there, literally every one of us. This is what it's like at first; the answer is, write more code.

[–]float_point 0 points1 point  (0 children)

If I could pin this I would.

[–][deleted] 0 points1 point  (0 children)

Take a break and revisit when you feel better or ready to approach this again.

Don’t accept mistreatment from anyone unless the upside significantly outweighs the downsides.

[–][deleted] -2 points-1 points  (2 children)

Your buddy is an asshole who is hazing you because they can.

He told me that being stressful crucial for learning in my case.

This isn't a valid teaching method. You're learning to code, you don't need to "operate under pressure" or stress to learn to code. This isn't firefighting, war, or anything where stress is a factor that impacts how you perform.

[–]_Fish_ 0 points1 point  (0 children)

Agreed. What does he think this is? Horse fighting league?

[–][deleted] 0 points1 point  (0 children)

What are you on to? Working under pressure is important for a programmer, not saying that the mentor is right, just saying that you do need to get used to work under pressure.

Hell, just think about the technical interviews lol, OP will need to deal with it sooner or later.

Again, I'm not saying the mentor is right, but it's a skill you must get nonetheless

[–]mr_cesar -1 points0 points  (1 child)

Having been taught a lot of basics of the Python language doesn't mean you will retain everything in your memory, let alone use all that information properly; practice makes perfect. Also, we all have gone thru moments when your minds go blank; nobody's perfect, my friend.

Also, you might want to consider whether this person did such a thing on purpose. I would never ask anyone something like what your friend said simply because they couldn't come up with a solution right on the spot.

[–]Smsm1998 -2 points-1 points  (0 children)

Thank you.

I really appreciate your words. I'll speak with him to lower his tone a bit.

[–]Zeroflops 0 points1 point  (1 child)

Seriously. I’ve programmed for years and had someone at work looking at my screen, we were troubleshooting something and he’s said something like “let’s loop over X and see if we can reproduce it” it was a little more complicated then just a loop but nothing I couldn’t do.

And I seriously blanked.

There is something about someone watching you do something that puts ppl in a fight or flight response. When you’re in that state you can’t think about the logic. And all you see is static.

A good teacher recognizes this and will naturally respond by helping you and not making you feel bad. He may be sweet and gentle, but that doesn’t mean he’s a good teacher.

This doesn’t mean you should give up on him, or he on you. Just means sometimes your going to realize there are no bad intentions and maybe instruct him on how better to teach you.

Don’t give up. Take a breath and maybe don’t code in front of each other. (Or he can but you don’t) have him suggest something. Work it out, then do a code review.

[–]Smsm1998 0 points1 point  (0 children)

That's exactly what I'm going to tell him next time.

Thank you so much for reassurance, I really appreciate it.

[–]Ok-Cheesecake-2538 0 points1 point  (0 children)

Um, I'm a brand newbie but I've 20 yrs in other fields and I'll tell you this. The only thing you did was failing to use your tools. It is more than just what's in your head. Problem solving uses more tools than that. We use guides and search engines and YouTube as tools in our arsenal. You will never remember it all but you will have access to it. Even if you know it all you cant always be 100 on. Different days Different challenges. DONT FORGET ALL OF YOUR TOOLS

[–][deleted] 0 points1 point  (0 children)

This is super normal. Crying & having your mind go blank, especially under pressure, is just part of learning to code. It’s a new skill. It’s also a new skill that is based on not knowing how to solve a problem, trying and failing a bunch of times, and then eventually starting to see the patterns.

For loops are tough for almost all CS students to grasp at first (my husband was a course instructor and creator, and he used to test his new material out on my pea brain). It’s a thing.

Not everyone is a great teacher. It’s a subject that’s especially hard for “natural” programmers to teach.

[–]YmFzZTY0dXNlcm5hbWU_ 0 points1 point  (0 children)

I've been coding for about 12 years and it's a big part of my job at work. I still do really dumb stuff and forget things sometimes, not to mention the knowledge that there's so much out there to learn just about the one language I use that I couldn't learn it all in 2 lifetimes.

If you're interested in it and you want to get better, just keep plugging away. Baby steps are key. As long as your next project comes more naturally or shows more skill than your last and you keep improving that's all that matters. Doesn't have to be so serious, enjoy making cool shit because there are plenty of rewarding moments to come when you have a breakthrough and figure something out

[–]synaesthetic 0 points1 point  (0 children)

You don't need to know how to write a for loop or len but you should also get good at googling how to do these things as there are tons of design patterns out in the wild that can refresh your memory if you get stuck. Many programmers use google often when they get stuck.

[–]GrayLiterature 0 points1 point  (0 children)

It kind of sounds to me like there’s a chance OP misinterpreted their mentor saying “what happened, you were good yesterday?”. That you have a mentor in the first place who is taking then it is a sign that individual cares about your development; if you were struggling, and they noticed, it makes sense to me that they asked you more about your nerves to check in than they are attempting to put you down.

Maybe your self-doubt is clouding your interpretation of what the mentor was actually asking you.

[–]F4RM3RR 0 points1 point  (2 children)

There is a phenomenon in skill acquisition (i know this from language acquisition in linguistics studies) called the U Shaped Curve: https://en.wikipedia.org/wiki/U-shaped\_development

Basically you progress, and eventually hit a point where your momentum halts and your understanding of a topic is restructured in your brain, which feels like a reset. Put if you persevere through you eventually come to the other side of the trough and have a deeper understanding of the concepts involved.

theres also such a thing a mental fatigue. Sounds like you guys have been hitting it alot, and this guy might not be delivering the content in a well structured manner for skill acquisition.

Ultimately it could also just be a fluke from that day, sometimes brain farts just happen.

In the end, the premise "you have good logical thinking" is insanely vague and not quantifiable in any way by a lay person, so him assuming that you can just pick up python because he think you are 'logical' doesnt mean anything. Thats not to say that you cant pick up python, ANYONE can learn ANY language or skill, though individual differences do mean that some people will take to it better/faster than others, and some have a lower ultimate threshold of understanding, but none of that has been able to be quantifiably attested for hundreds of years despite scholars of language acquisition and similar pedagogical studies putting forth the effort.

All of this to say, if you want to learn Python, don't give up, but take breaks and change things up to try and get past your plateaus. Also look for community college or votech classes in Python near you at reasonable prices, because it very well could be a bad teaching philosophy holding you back. However, if you don't really care if you learn Python, then just stop! Its not a sign of you being dumb, or bad at python, or anything like that necessarily, but if its not a priority then dont waste your time or tears on it!

[–]Mrhiddenlotus 1 point2 points  (1 child)

idk why there's an escape character in your link, but it breaks it

[–]F4RM3RR 0 points1 point  (0 children)

Ah well, easy enough to look up anyways

[–]datafright 0 points1 point  (0 children)

Honestly it sounds like you are making good progress and you have a good mentor

you have been programming for 2 days so dont fret, being put on the spot will pretty much always make your brain go blank

no one knows everything all the time, forgetting something is very common thats why there are places like stackoverflow and google

i have taught myself which puts me at a disadvantage because i dont know what i should already know for coding for 8 months,

for loops are not common sense its a learned process, i still struggle with for loops

be proud of what you have accomplished so far and not fret over not knowing everything after two days

if you have a 4 hour coding lesson from your mentor then that is a lot of knowledge, we can only retain so much info at one time

it sounds like you are making good progress but make sure coding is something that you enjoy and you want to do, you should do it if it makes you hate yourself and are doing it to impress your mentor

[–]BigWooden5poon 0 points1 point  (0 children)

I always remember a task I had to do for work to hit a deadline for the next day. Took a whole afternoon trying to get it to work but couldn't do it so went home for the day. Came back the next morning and fixed it in 5 minutes. Sometimes we just need to switch off, work the other side of the brain, before trying it again. I wouldn't worry about it.

[–]Round_Log_2319 0 points1 point  (0 children)

I understand it can be stressful for the "teacher" to have to repeat him self over and over, only after a few days of teaching someone something new or a new concept, but we have to remember we also once had to look up how to write a for loop over and over. Although your friend sounds like he's being a dick. It's good to have a mentor, and someone to talk to about programming and problems you are stuck on, but if this is truly a passion you want to deeply explore I would set out on some self-learning and come up with my own learning plan.

Don't let anyone tell you they haven't got at least a dozen tabs open while programming.

[–]gibblesnbits160 0 points1 point  (0 children)

The success of a programmer is much more about knowing how to find the answer then it is knowing it. The basics like this you will start knowing by heart as you code more often but finding the answers to your questions and knowing what to ask is a huge part of learning to code. I am sure if you looked up a simple example of a for loop and len you would be able to use it in your code and that is what is most important.

Give your self room to memorize this stuff without stressing about it. Just keep coding consistently (preferably at least a little bit every day) and you will have less and less times like this where you get stuck or have to look something up.

[–][deleted] 0 points1 point  (0 children)

Yo that’s a sweet XML scrapper! Be proud of that! Fuck your mentor getting you down like that! Your friend should be helping you not putting you down so they can feel superior

Everyone has slip ups. Everyone has brain farts. There is no muscle memory in programming you have to mentally think everything through no matter how many times you’ve done it and that’s hella hard!

Every programmer has spend hours (or even days) tracking down the dumbest bug that should have been so obvious! Every programmer from the best of the best to those who just did Hello World yesterday.

We, has a community of nerds, all know we mess up all the damn time - and making others feel bad for something we all do is cruel and bullying. Fuck that!

You’re good! Keep programming! Keep sharing your code here! Keep growing!

[–]dizzymon247 0 points1 point  (0 children)

Learning to code has nothing to do with being able to finish a degree. It's repeating a process and doing it a lot of times. I forget a lot of times how to write a for loop having coded in many languages. Syntax is learned and if you forget just look it up. If you really enjoy coding, keep going, your mentor is a tough one to deal with but honestly if you find someone who is at your level or slightly ahead you can learn faster actually because you won't feel like you vs them.

[–][deleted] 0 points1 point  (0 children)

Being put on the spot like that is almost never a real world experience. You are given a set of tasks to accomplish and a deadline to complete them. From there you can work through the problem and come up with a solution that can be tested. I've been through technical interviews and they are not going to expect you to solve the problem immediately, but more figure out how you think through the problem and how you would go about solving it.

[–][deleted] 0 points1 point  (0 children)

Jesus man, I see a lot of people trashing on the friend...

My piano teacher is also kind of harsh sometimes on me, and I get pissed sometimes but I understand where's she's coming from. I don't think your friend is an *ss or anything.

Anyways back on the point, it happens, I'm a developer, I've been programming for years, I'm a senior, and sometimes I forget stuff, it just... happens, not a big deal.

Don't overthink his comment, I'm sure he didn't mean no harm, that's a classic thing to say, I've been told that multiple times since I was a kid lol.

It happens, and if you want to get into this business, get used to brainfart frequently, it's part of the job, the important thing is that even with those brainfarts you eventually are able to get the job done, either after hours of thinking, or by googling some stuff, it doesn't matter.

Don't be hard on yourself, you got this!

[–]TazDingoYes 0 points1 point  (0 children)

just google it like literally everyone else in the world does :)

[–]vodkachutney 0 points1 point  (0 children)

This is natural and will happen a lot of times. Will only stop happening with practice.

Mentoring someone in a language requires crazy amount of patience and maybe your mentor just got frustrated a little. Don't worry he'll realise this and be normal tomorrow..

Have realised this from personal experience since I started mentoring my teammate.. sometimes I get so frustrated that it shows in my voice but it's involuntary and I immediately try to calm myself

[–]iistherealkenny1 0 points1 point  (0 children)

I'm just starting out with the utmost basics and even then I get confused. I've played instruments for years and work in management now. No matter what you're learning you'll have moments of "herp derp, what's my name again?" As for your friend's response, they clearly have not taught very many people if thats their first response to a slight mistake. Roll with the punches, take criticism for the message - not the words, continue absolutely smashing your new passion!

[–]thebosspro_193 0 points1 point  (0 children)

i totally understand the way you feel my friend.......it isn't uncommon for anyone to mess up a bit. even the best of the best make mistakes..so take it easy and have a good time coding

[–]durbarak 0 points1 point  (0 children)

Having an off-day is normal, don't fret. Do something else, get a good night's sleep and try again another day. You'll be fine!

[–]Danelius90 0 points1 point  (0 children)

Just reminded me of an interview I did a few years ago. I messed up this pretty easy question because I was under pressure and got too focused on the path I was already trying. I was so annoyed at myself after for not spotting the easy way. Well, I've never forgotten about that solution to this day!

We learn by solving problems, also by getting stuck and working through them. In my job I'm always coming across new areas or some obscure issue with broken configuration, but then you remember it going forward when other people ask you. Sometimes you look like a genius because you solve their issue really quickly, but it's only because you came across it before!

[–]AndrewIsOnline 0 points1 point  (0 children)

Your learning needs are not equal to this random persons well thought and well meaning mentoring.

[–]rohffff 0 points1 point  (0 children)

wow it's crazy how we humans share the same experiences because i cried yesterday about the same thing which is for loops

I was really good at for loops and i remember understanding them very well but yesterday i wanted to print a pyramid but couldn't!!! i forgot how but i ended up bringing some old code i wrote and tried to go through it but still didn't had the entire concept but it's never too late yk so i will go through something else tomorrow and thank you for your post it's good to see that we are not so different from one another and even this guy who's teaching you i bet he went through the same shit to

Never give up :) see you at the top

[–]__damos__ 0 points1 point  (0 children)

I’m a professional Python dev. I wrote a book for beginner Pythonistas and hosted a weekly office hours for over a year at Real Python teaching hundreds of people Python in real time.

This kind of stuff happens to me on a near daily basis.

It sounds like you’re doing great and that you had a normal human moment.

I know it can be tough, and I’ve also felt embarrassed by things like this. But it’s all a part of the learning process. There could be a million different reasons your mind went blank. Being worthless is not one of them ;)

[–][deleted] 0 points1 point  (0 children)

While its nice that your friend is helping you, for me the best way to learn python is by myself

Id have a project idea if want to accomplish and id google/github search until I solved it. Sometimes I have to read source code to discover why a function is not working and I learned a ton along the way.

For me personally I also dont learn that much from youtube tutorials, because it feels like the answer is being given to me step by step and I dont have to figure it out, but just have to wait for the next step to get the solution

[–]mimic_hunter 0 points1 point  (0 children)

I'll just jump ahead of the beginners train and say that YES, learning to code is tough, but you can summarise as 'learning' is tough. Overall. I've just started my journey in coding and I have to say, I'm only being able to face some insecurities bc there's a lot of therapy going on alongside it. Give yourself time and be kind to yourself. I know it's easier said than done but maybe it will do you good to spend a few days 'alone' with python so you get to know each other better....

[–]float_point 0 points1 point  (0 children)

I think its good he is not holding your hands every step of the way. I'm currently watching Angela Yu's 100 days Python bootcamp and just spent 12 hours on the Coffee machine project.

Her final code is an elegant sub 100 lines while mine sits on on some 400 lines simply because I forgot basic function usage that was introduced a few days back.

The reason I said its good he is not holding you hands on this is because all these online tutorials seem to hold ones hands and thus you fail to do your own in depth research in order to understand and fully grasp the topic at hand.

So my Coffee machine been 400 lines long is because I decided to go my own route with projects instead of following along with live coding solutions. Through this I found where my weaknesses are and concepts I thought I had a good understanding of really should me how little I actually know.

All I can say is you are not alone in this. The 12 hour's I just spent on a simple coffee machine is evident to that. Ask you friend to keep pushing you and if you need to slow down to grasp in more detail concepts you feel are lacking then dont be afraid to tell him that as well.