r/learnprogramming • u/7forest • Feb 08 '19
Two mistakes that trap new programmers
Most aspiring programmers get trapped and fail to move forward. As a teacher, I get to observe how some programmers keep moving forward. Here's two signs you are trapped.
Trapped coders focus on anything but coding.
Trapped programmers love to debate which language or framework is best. They spend their time figuring out what to learn and end up learning nothing at all. So let me answer all your questions.
Learn Python.
But what if I need to learn C#?
Learn C# after.
Isn't Javascript the language of the future?
Learn Javascript after.
My developer friend told me I should learn C++ because all languages are based on it.
Learn C++ after.
New programmers fear they could be wasting time learning the "wrong language". Programming is the fastest industry in history. Good developers learn new languages and frameworks on a yearly basis. Three years from now, your knowledge will be outdated. If that scares you then find a different career.
Trapped coders following directions too well.
Trapped programmers follow tutorials like mindless robots. Copying pasting code doesn’t teach you anything. Imagine starting a python tutorial that taught you how to print “hello world”.
print(“hello world”)Most people copy/paste this and move on. If you were my student, I'd push you farther.
Change the code so it prints “howdy”.
Print two alerts. One that says “whats up?” and “take care”.
Continue with the tutorial (usually goes to variables). After a few problems, print “hi” from mental recall.
Since we probably encountered variables by now, what will the code print below? Why?
greeting = “howdy” print(greeting) print(“greeting”)Fix the code below so it prints “hello”.
Print(hello)
By the end of my exercises, you would have a strong idea of how print statements work. A simple line of code can create a myriad of problems. Most people brush past it only to get stuck in the future. I always recommend finding a school or mentor for guidance. If you can't do that, be proactive with your learning and keep at it.
Good luck!
14
u/StoicGrowth Feb 09 '19 edited Feb 09 '19
If you're real serious about it — because it's commitment on your part — here's a quick run down of possible ways, among others probably but I guarantee these work if you keep at it (any domain, any age, but we'll speak tech here).
First understand this one thing: why do some people 'mentor'? Because they just love it. They love the domain, they love the doing, they also love elevating others (if they're really smart about it they know it's how they elevate themselves in the best possible way too). So you're not asking, not only, it's an exchange. You come in with all the interest, the passion, the will to learn and make cool stuff (more on that below), and you dig deep so you ask real questions (don't judge that yourself, just be confident that a good student always asks good questions that people who know love to answer).
These aren't just words but tangible things.
You need to actually make stuff. Nobody wants to mentor an armchair reddit poster. You'll pick other people's interest when you actually make real things and encounter real problems; that's exciting to solve.
You need to show up. Ideally physically to meetups etc. Find people around you. This is your best pool of mentor candidates, these guys hang around where it's at. Also digitally of course, and research where your domain is happening (some stuff is mostly on Slack for instance, other things are typical IRC candidates, Discord is getting strong, there's always github because tickets, etc.) Be present, be active, in the heart of your domain's community. Just exist. Participate.
Now if you want to actually kill these two birds with one stone: OPEN SOURCE PROJECTS. There are reasons why everybody and their mother suggests that to newbies, and the above is just two among many.
It's almost guaranteed, I kid you not, that you'll find a mentor or mentor-like figures by the droves if you get active in a decently active open-source project. "Mentor" doesn't necessarily imply age: it's about skill. So you'll find "veterans" leading open-source projects, there are thousands of them with very valuable experience to share and a project to drive, often on their own time, so they would really benefit from a great apprentice, believe me. You just have to go out there and show up and talk and see what's what. It's a very social field / era.
Don't forget #1, we're here to make stuff, not teach or learn or be friends even if we do all these things on the way. There's this focus which entails great relationships in open-source: by talking with project leads and really really trying to understand best what they need and seek from you and doing just that, you'll inevitably become someone people want to help (help you help them help the project). It's always about the work. When you've proven a good learner, maybe a good coder already for some things, you'll slowly become part of the project, and your questions will be less about learning and more about improving things: you'll be light-years ahead of where you are now, and this can be next summer.
Just my 2 cts mate, best of luck to you.
TL:DR: Make stuff, show up, ideally both at once by joining an open-source project (bonus points if the leads are actually living nearby you so you can meetup or whatever on occasion). The mentor-s will appear magically because you'll be obvious mentee-material. ;)