r/learnprogramming • • Feb 29 '16

I've written a 200 page e-book on how to build an Instagram like social network from scratch with Ruby on Rails. It's yours for free (no sign up required).

3.4k Upvotes

Hey guys!

I've been writing a series on how to build an Instagram clone with Ruby on Rails for the last few months and finally it's finished! To celebrate, I've converted the whole series to a pdf and edited slightly so it feels more bookey.

Download right now here

No signup / etc at all is required and I hope you find it useful. I had a great time writing it and working with the people who've followed along.

Ben

ps. Wow, thanks for the support everyone! My regular old blog is www.devwalks.com but I must admit that this book pretty much contains 95% of the content thus far. I'm planning on building a Basecamp clone for the next series which will incorporate all of the good SAAS stuff. Sign up over at the blog if that sounds like something that'd make you smile with joy.

You can pre-order the paid version of this book that is completely Test-Driven (industry standard) and formatted much nicer along with much greater detail. There's a link for that in the front part of the book, I won't spam it here.


r/learnprogramming • • Mar 14 '17

Tutorial The Best Way To Learn How To Code

3.4k Upvotes

The thing that really frustrated me when I first started learning to code was what I now call the “foggy bridge”. It’s a long and dark bridge where everything on the left is too easy and everything on the right is too hard. So you’re stuck aimlessly stumbling across this damn bridge not knowing what you don’t know.

Most people new to programming suffer from an inability to find intermediate tasks and sources of knowledge to bridge the gap between being a beginner and becoming a proficient coder. The people who make it across the bridge do it by endlessly grinding through simple tasks or hitting their head against the wall of a project that’s probably way beyond their current ability.

This results in the vast majority of beginners getting frustrated and giving up before they should. They burn out. Not because coding is hard (it’s not), but because learning to code is hard. And it really shouldn’t be.

So, is there a better way?

For over a year, I was literally obsessed with finding an answer to that question. What’s the best approach to learn to code? It’s a deceptively simple question and the answer, as it turns out, perfectly explains why learning to code is so difficult in the first place. Or perhaps I should say why explaining to others how to learn is so misleading.

If you were to ask five developers what the best way to learn programming is, you’d probably get five very different answers. One guy will confidently say you have to start building real applications. Another guy will give you a huge list of links to blog posts, YouTube videos and online courses. There will be the guy who says his brother went to such-and-such bootcamp and it’s apparently awesome. The really nerdy looking guy will give you a .edu link to an introductory computer science course and somebody else will undoubtedly mention a well respected book or two.

You know what’s really frustrating about those responses? They’re all legitimately great answers. So why are you still left with that same feeling of discouragement you had when you first asked the question?

Here’s why: Learning to code is easiest when done in a particular order. When you try to learn it out of sequence, you’ll get really frustrated or really bored. Like trying to ride a bike without first using training wheels or learning your ABCs when you can already read and write.

The best way to cross the foggy bridge is to break it up into three separate but distinct segments. Think of these segments like you would think of borders on a map. They’re helpful for navigating but they aren’t real.

  1. Learn syntax

  2. Solve problems

  3. Make stuff

Each segment is a prerequisite for what comes after, yet none of the segments are mutually exclusive. In other words, crossing the foggy bridge won’t be a strictly linear process. While each segment reinforces the others (independent of order) you should focus primarily on one segment at a time. If you do it that way, you’ll make it across the bridge faster, easier and with much less of a headache.

Let’s take a look at each segment in greater detail.

Learn syntax

This segment gives you a false sense of confidence which will quickly disappear when you move to problem solving. It’s the realm of countless introductory books, videos and courses. A lot of money is made in this segment because most people learn a bit of syntax and never go any further with it (not their fault, but I’ll get to that in just a sec).

There really isn’t anything lacking in this area. The market for learning the basics is so massive and so few people go beyond it, you’ll find an almost endless supply of material. Don’t get caught in the common trap of continuously learning and relearning syntax. Once you’ve read two decent beginner books on your language of choice, call it good and move on to solving problems.

Solve problems

Now this is an area desperately in need of some attention. It’s almost completely overlooked and I believe that’s the main reason so few people get past learning syntax. They have no direction other than vague advice to start making things, which is kind of like trying to ride a bike without ever having used training wheels. It’s possible but far from an ideal way to learn.

When you can take the syntax from the first segment and apply it without being told what to do, you’re in the problem solving segment. This is the very essence of thinking like a programmer and it is by far the most difficult and important part on your journey across the foggy bridge. In fact, It’s what I’ve spent the past six months of my life working on.

Beginners simply don’t have a source of intermediate tasks and resources to bridge the gap between knowing basic syntax and actually building stuff with it. They’re left with no other choice but to stumble across the foggy bridge until eventually they start figuring things out through sheer brute force alone.

Make stuff

Pretty much every developer I know went straight from learning syntax to making stuff (or… trying to). It’s very frustrating because not only are you learning to think like a programmer, you’re also learning about frameworks, all the jargon that goes along with frameworks, how to use an IDE and a bunch of other things I won’t get into.

Once you understand syntax and can actually solve basic coding problems on your own, it’s time to either contribute to open source projects or work on some hair brained idea you’ve got. Build stuff that makes you excited to get out of bed in the morning and prevents you from falling asleep at night. Passion will get you past the remaining hard parts.

The reason so many people get frustrated and ultimately give up on learning to code isn’t because coding is hard. It’s because learning to code is hard. It’s messy, loaded with jargon and it leads to extreme information overload. There’s just so much stuff you need to learn. So at the very least, keep your approach simple.

  1. Learn syntax

  2. Solve problems

  3. Make stuff

Generally in that order.

For those who find themselves trapped on the foggy bridge, start with these interactive coding challenges.

EDIT: This sub apparently gives out gold like it's candy. Thanks stranger.


r/learnprogramming • • Jul 12 '21

I got a job! At 39 years old and exactly 18 months from when I quit my marketing career.

3.3k Upvotes

Huge thanks to this awesome reddit community. The number of times I googled something paired with the words “reddit learnprogramming” and got my answer, I can’t even count. You guys have taught me so much. So, I wanted to try to give back and detail everything I have learnt from the past 18 months (and 15-year career before this).

I’ll try and break this up into my learning journey and my job-hunting journey.

Learning

Below was basically my curriculum.

(But note that people learn differently. What works for me might not work for somebody else. I’m an auditory and a kinaesthetic learner. I recommend working out what learning style works for you. I’d also recommend two awesome books to read; Atomic Habits by James Clear and Ultralearning by Scott Young.)

Anyway, here’s what I did.

  • Harvard CS50 (free)

    • This was awesome at nailing the fundamentals. David Malan is a great teacher and explains everything really well. I’d recommend doing this at the beginning of your journey if possible and do the projects. Warning though, it’s really hard. (It is “Harvard” remember) I say this so that you don’t get discouraged. It’s going to punish you. But try and push through the struggle.

  • FreeCodeCamp (free)

    • I found FreeCodeCamp really enjoyable and the short, almost gamified lessons made it really easy to keep me motivated. I was having fun. I did find however that it was a little too hand-holdy for me and I found myself not retaining as much information as I would have liked. Many of the modules I had to do 2 or 3 times to fully grasp them.

  • Tyler McGinnis’ React courses (now called Ui.Dev)

    • He’s a great teacher but was a little advanced for me as a beginner. It’s more of an intermediate course. I’d probably be ready to do his courses again now.

  • Grad Cert of Data Engineering (ANU)

    • I did this basically because it was being offered as a really cheap University short-course due to Covid. Although I did learn a lot of SQL, Python and Machine Learning, it was a pretty poor experience. (This is a whole different rant that I will spare you from) It also didn’t do much for me job wise, as it often confused hirers as to where I wanted my career trajectory to go. Not the best use of 9 months of my time.

  • The Odin Project (free)

    • I found this to be really good. The perfect balance of guiding you to where you need to be without hand-holding. And it allows you to develop real world skills such as using an IDE, Git, Package Managers etc. If you're looking to get into web development, this is pretty much a one stop shop to get there.

  • Random other things that I found such as CodeWars (for algorithm practice), Flexbox Froggy, Automate the Boring Stuff and an assortment of YouTube videos (Programming with Mosh, Tim Corey(C#)), PluralSight and other random things that I don’t remember any more.

Getting a Job

I feel like I made a fair few mistakes here. So rather than detail exactly what I did, I'll make it about what I recommend you do...

  • Focus on what will move the dial in relation to getting an interview. This is:

    • Resume/CV

    • Projects (to put in your Resume/CV and to talk about in your interview)

    • LinkedIn

    • Networking/Meetups

    • Personal website

Resume

  • Optimise your resume/CV. This is the most important part of getting to the interview stage by far. Obsess over it. Get multiple people to review it. Make sure the people who are reviewing it know what they’re talking about. Pay an expert to do it if necessary. This is your number 1 asset. Your entire journey comes down to someone looking at this thing for around 8-12 seconds. It’s your one shot, so, make sure it’s as perfect as it can be. (If you'd like me to look at your resume, send me a DM)

  • I won't go to much into what your resume should look like, but make sure it's easy for them. Make your resume skimmable, with clear sections, headings, subheadings, bullet-points. If you live in the area of the job you're applying for, make it clear that you live in that area and that you have valid working rights.

  • Also, tailor your resume to each job you apply for. You don’t have to change it a heap, but, if you’re applying for a JavaScript job for example, make sure your resume is JavaScript focused.

  • If you don’t have much experience, do some interesting projects (or at least one comprehensive one) and either add links from your resume, or if you’re short of space, from your personal website (and include your personal website link in your resume instead). Make sure these projects are easily viewable to the hirer. If you’re not looking for Web-Dev jobs and you can’t link to them, at least provide links to screenshots of them. Make sure they look good, as many hirers are not coders, and will judge your stuff on the aesthetics.

Other

  • Read job descriptions carefully. Read them 4 or 5 times if you need to. Someone most likely put a lot of effort into it and it lists exactly what the company you are applying for is looking for. Then you can basically parrot this job description back to them in your own words, both in your cover letter and when tailoring your resume and it will sound to them like you are the exact person that they had in mind.

  • Use LinkedIn. Optimise your LinkedIn profile the same way you do your resume. Just watch this YouTube video from Danny Thompson for everything you need to know in this regard. And connect with everyone relevant in your area.

  • Apply for jobs through websites, but also try non-traditional routes. If you see a job on a website, try and find the contact on LinkedIn and send them a DM. Ask a simple question such as salary expectations. Sometimes this will get you an interview without having to go through the process whereby your resume is shoved in a pile with hundreds of others. Even if you don’t get a reply to your message, they’ll probably remember your name when they’re going through the pile which won’t hurt.

  • Get out there and talk to people. Find meetups to go to in your area. Break out of your comfort-zone. Talk to people. It turns out, the people who go to these things are generally cool, passionate people who just love to share their knowledge and are excited about anyone who shows passion as well. I know you probably feel awkward and uncomfortable. Most people do. Do it anyway.

  • Can’t find a meetup in your area? Create one! I actually started a Junior Developer meetup group in my area (Adelaide, Australia) because there wasn’t one. Now I know what you’re thinking. "But I'm not the type of person who organises a meetup group!". Neither am I. I was scared shitless(I still am). But I pushed through and did it anyway. Not only did it end up helping me land my first job, but I’m helping to grow the local tech community, making friends and helping other junior developers find jobs. And I conquered one of my biggest fears. It feels good.

Interview

Preparing for an Interview

  • Again, read the job description carefully before your interview. Think about any questions they could ask in relation to the job description and prepare answers for them in your head.

  • Research the company before going in. Check out their website. Learn what they're about. Practice for the question of "What do you know about us?" and "Why do you want to work for this company?" Prepare something in particular about something they have done or are doing. A specific feature they have implemented. (if you can't think of one, question whether you actually want to work for them) Nothing impresses the pants off of someone more than saying "I read your white paper on blahblah and I love your focus on blahblah".

  • Prepare answers for the following:

    • Tell me about yourself. Usually this is just an icebreaker or they haven’t had time to read your resume. So prepare a story about your journey and try and make it interesting. Give it a story-arc (which should be fairly easy if you're going through this journey because you're no doubt going to have struggles and conflicts).

    • What’s a difficult situation you’ve had at work (or university if you haven’t had any experience) and how did you handle it?

    • What are your strengths.

    • What are your weaknesses. (People often struggle with this one. For this question don’t say things like “I work too hard”. State an actual weakness but then talk about how you have mitigated this weakness. For example I usually go with (which is true), “I don't really like thinking of them as weaknesses. I like to think of them more as 'Challenges'. Because when I become aware of a weakness I take steps to mitigate it. For example I'm naturally a pretty unorganised person, so I'm obsessive about my use of trello, evernote and other project management tools to help keep me organised”.)

In the interview (non-technical part)

  • More than anything, generally the interviewer just wants to find out if you’d be someone that they would like to have around in the office. So, try to be friendly and confident but humble. Show that you’re passionate about the work and the potential for working there.

  • Keep your answers short and sweet. More words don’t equal better answers. Don't waffle. Keeping them succinct shows confidence. End confidently. Try to avoid ending with "...and.... uh..yeh..."

  • Ask at least one question at the end. My go to question is "Pretend you hired me for this role and we're 12 months from now... what would the outcome be where you would say "Man.... I’m really glad we hired standardweasel". I like this question because not only does it show that you're in it to help them achieve their goals, but it’s also good from your perspective to see 1: whether they've thought about this before and 2: Whether you think the goals they have in mind are achievable. (Remember it's a 2-way interview. You're also working out if this company is a good fit for you)

In the interview (Technical part)

  • If you don't know the answer to something, don’t try and make things up. You’ll appear unconfident and will most likely dig yourself into a hole. Just say you don't know (but are willing and excited to learn).

  • If you have a whiteboard test, talk through the problem. Generally, they want to hear your thought process more than your answer. Ask for hints if you need to. The interviewer usually wants to help you to get to the answer. Read "Cracking the Coding Interview" for more help on this part.

  • This isn’t my list, I believe I may have ripped it off another reddit poster a long time ago, but this is a checklist of things you should be prepared for if you’re going for one of these types of jobs. Note that many jobs (such as Front-end developer roles) will not require this. (For example for my job I was asked a simple FizzBuzz):

- Data types

- Basic Bitwise Operations

- String Operations

- Arrays

- Linked Lists

- Singly Linked

- Doubly Linked

- Circular Linked

- Queues

- Stacks

- Heaps

- Trees

- Binary Trees

- Binary Search Trees

- Tries

- Self Balancing Trees

- Traversing Trees

- Breadth First Search - BFS

- Depth First Search - DFS

- Preorder, Inorder, Postorder

- Graphs

- Dijkstra's Algorithm / A* Search

- Hash Maps

- Handling Collisions

- Sorting algorithms

- Insertion

- Selection

- Merge

- Quick

- Time Complexities

- Programming Paradigm

- Dynamic Programming

- Object Oriented Programming

- Asynchronous Programming

- Functional Programming

Other Interview Tips

  • If you get nervous in interviews, practice actual live interviews where you don't care about the outcome. Nothing makes you better at interviews than doing a ton of them. If you're not getting that many interviews, apply for McDonalds or anywhere else that will give you an interview... anything to get practice. If you get the job you can always say no. The more interview you do, the more confident you'll get. It's the same as dating. And just like dating you should try to avoid 'One-itis’. Think of every interview as just a practice for the real thing. Opportunities (and interviews) are like buses, there's always another one around the corner.

  • Don't take the interview process personally.

  • I’m going to repeat this one because it’s really important and really hard to do. Don’t take the interview process personally. You’re going to get rejected. You’re going to get ghosted. It happens to everyone. This isn’t a reflection on you. Maybe they already had somebody in mind for the job and were required to interview due to regulations. Maybe they were looking for someone with less experience. Maybe they thought you were too smart and thought they'd steal your job. Maybe they hired their son. Maybe you just look like someone who stole their girlfriend/boyfriend in high-school. Just move on.

Other

  • Don't let age stop you. From my experience I didn’t find there to be any age discrimination. Nobody looked twice at the fact that I am 39. In fact, the most common response was “That’s awesome”. If anything it was an advantage as it showed that I was passionate, determined and had soft skills that younger people wouldn’t have gained yet. My theory is that the age discrimination myth comes from 10-15 years ago, when the only people who were technological natives were young people and therefore you didn't really see many older people in tech. Whereas now anyone under 50 has pretty much grown up with technology in some form.

  • Don't rush. You're probably going to want to churn through lessons and YouTube videos because you want to learn quicker. This only slows down the process. Make sure you understand what concept you are trying to learn. And then make sure you fully understand it before moving on to the next thing. Test yourself by trying to build something using the concept you're learning. Your brain is really good at tricking you into thinking you know something. There's a big difference between being able to follow along and understand something someone is doing on YouTube, compared to being able to actually implement it yourself.

  • It's hard to realise how much you're learning. Kind of like how you don't realise a person that you see everyday is ageing until you look back at old photos. After 18 months I often feel like I haven't learnt much, until I remember when I started I didn't even know what a JavaScript was. So try and remember where you came from.

  • And trust the process. You’re going to feel like quitting. You’re going to have moments where you spent 5 hours debugging code only to realise you forgot a semi-colon. You’re going to feel like an idiot. You’re not stupid.


r/learnprogramming • • Jun 24 '20

After years of Bad grades, mental health issues and lack of motivation, I'm drowning in job offers for the first time in my life. THIS IS AWESOME!

3.3k Upvotes

Not sure if this is the right place to post this, but I need to share this with someone right now or I'm gonna explode :D

For the past few years, I had a lot of doubts. My grades in uni sucked and I didn't do anything besides gaming, really. Well time went by and due to Corona my current job as a working job might not be guaranteed for the foreseeable future. I decided to start networking a little bit (writing applications and making use of my uni's carreer service) and before I even realized it I had to start turning down offers because I'm in the process of talking to a better employer every day.

Everyone who has some sort of doubts (most notably impostor syndrome), look back at what you have learnt. Think about what was the most fun thing you did and write it all down. Force yourself to remember what it was like.

Maybe my perspective is a little distorted because I'm on meds right now, but the last 2 weeks were some of the greatest in recent years. And that says a lot considering my gf of 2 years and I decided to break up last week.

Edit: I'm seeing a lot of people that are in a dark spot are replying. Feel free to DM me if you need to talk/vent!


r/learnprogramming • • Sep 02 '20

Had my first programming interview, legs still shaking.

3.3k Upvotes

I can't even. The amount of times I said "no, sorry idk what that means?". Still got the job, you can do it guys. Keep grinding.

Edit: Wow! Thanks a lot for all your comments and the awards!!

Some FAQs

I am a male, 17 years old, HS senior. Completely self taught (utube, udemy, edx and a few books and articles). Have been learning for 3 years now.

I live in a big city so there are a lot of local software houses here.

This wasn't actually my 'first' interview, have been applying since covid, actively and did get a couple interview offers but I declined.

Interview was for a junior level backend developer. Php, laravel and sqlite and a little vue.

Logical assessment was beginner level algorithms from leetcode and stuff. Like binary search, ordering arrays etc. How would u design the Twitter Api. Questions about my previous web dev projects

Techincal questions were programming related, mainly php. Questions like what features does oop have? Advantages of oop, oop vs functional? Generic oop concepts ( apparently useless stuff judging from the comments) , Facades, frameworks, web scraping, web sockets etc.

There were questions related to version control, programming paradigms, test driven development and the likes which I completely flunked. Give that stuff a read before you take an interview. Also postman!

Again, Thank you everyone!


r/learnprogramming • • Jul 08 '22

After 8 months of self-learning, I landed my first job as a Software Developer!

3.2k Upvotes

Hello everyone,

I'm (26) beyond happy, and I wanted to share that after teaching myself Frontend Development for about 8 months I landed my first job in a start-up!

Prior to the self-teaching, I worked in casual / informal jobs. I saved enought money, dropped my previous job and dedicated myself to learning for at least 6 months.

It wasn't easy, there were a couple of times I doubted if I picked the correct path, I even was about to drop it half way. I got rejected a lot (I mean, A LOT) since companies were looking for devs with at least a few months of experience, not to mention the tech interviews in which (initially) I failed miserably, but I kept going forward and learned to rest instead of giving up (most of you have probably heard that sentence before).

To all of you who are still looking for your first job offer, those who are considering sealf-teaching yourself programming or those who are already learning: be resilient, don't give up.

That's a sentence I heard from a senior dev, and always kept it in mind the moments I were about to drop everything and give up.

I know you can do it.

Edit: Thank you so much for the kind words! Since some people are asking about the stack & resources I used, those are the following (will update if I miss one):

Edit2: Wow! Thanks for all the comments! After I finish adding the resources I used I'll be sure to answer as much as I can!

Edit3: I appreciate all the comments, kind words and DM's! Right now it's 3:00am in my time zone, I'll be sure to get back to you tomorrow! (since I'm falling sleep and my battery is running out).

Edit4: You people are amazing! Thanks for all the awards! Since I didn't developed too much on how much I applied to jobs, how many hours I studied per day and what helped me get more noticed by companies / recruiters, I will write more about it at the end of this post. Hope it helps! :)

Resources I used:

freeCodeCamp ~ HTML, CSS, JavaScript (I took the first 3 sections of the JS curriculum)

*freeCodeCamp is a great resource IMO, I watched some of their videos on YT (Data structures & algorithms, React, a bit of Bootstrap, etc).

The Odin Project ~ More HTML, CSS, JavaScript, a bit of NodeJS. I finished the Foundations section and from here started learning from varied resources.

Flexbox Froggy & Grid Garden ~ Both amazing tools to learn/practice CSS Flexbox and Grid. Knowing how to use Flex & Grid helped me a lot in my tech interviews!

Bootstrap 5 & Tailwind CSS ~ I have heard mixed opinions about CSS frameworks; some people state they are not useful, some say they are fantastic, etc. In my experience, on tech interviews the developers stated that they expect a dev candidate to know both pure CSS AND at least X framework, since their clients were specifically working with Bootstrap/Tailwind. Feel free to check them out after practicing CSS. If you use a framework or not is up to you.

freeCodeCamp's ES6 ~ It's essential to learn about the new syntax & features that ES6 bringed to JavaScript, specially if you want to learn a JS framework (like React) in the future. It may take you a lot of practice to get confortable with some concepts like arrow functions, promises and classes, but don't worry, take it step by step and be sure to practice since it helps a lot for you (it did for me) to retain what you learned. If you are more of a visual learner (like me) I recommend Web Dev Simplified YT channel for this kind of topics, since I consider him an amazing instructor.

Scrimba's Learn React course ~ One of the greatest (IMHO) courses to learn React as a beginner. If you pick this course and get started, I recommend you to (as soon as you feel comfortable) use the IDE of your preference (Visual Studio Code my personal pick) and start programming outside of the course's IDE. I recommend this since you can forget where you code is among the many chapters of the course.

Mastering React by Mosh ~ This is the only resource which isn't free, and being 100% honest I'm not sure if I can recommend it (I recommend Mosh YT channel tho!), since out there there are already great and free resources, but I was struggling a bit with React and saw a recommendation about Mosh's React course. I'm not saying it isn't worthy, just a bit outdated. I haven't finished it yet, but it is my general impression by far.

Stanford's Code in Place ~ Great (and free) resource if you want to give programming a try but you are not sure where to start. I didn't take Harvard's CS50 course but I have heard wonders of it. I'm sure both options are great for beginners/people who want to see if programming is for them.

Learn with Leon's 100devs ~ If you want to be part of an amazing community and learn together, you can give Leon's FREE bootcamp a try. I started the first few months (but didn't finished it) and it was great, he is an amazing structor and the streams were really good. If you are confortable with that kind of format, feel free to give it a try! You can check his YT channel if you want to have a grasp of what his bootcamp is like!

FE Developer Roadmap ~ Last but not least! This amazing roadmap created by kamranahmedse (and the respective associates) is great for giving you a great grasp of what you need to learn for becoming a FrontEnd Developer. Now, don't feel intimidated by all the content included in it, take your time to learn those topics at your own pace and remember, you don't need to know every single one. I for sure don't and I'm sure a lot of developers don't know everything as well. Use this resource as a guide if you feel unsure to learn a certain topic that catched you attention, or want to pick the resources the creator offers/recommends.

Additional info about my journey:

• How many hours I studied per day

At least 4-5 hrs. At the end of the day when I was having dinner, usually I would watch a video on YT about a topic that catched my attention or to reinforce what I studied during the day.

Since everyone's schedule is different and everyone have different responsabilities, feel free to study the amount of time you feel comfortable with. It can be 1~2 hours a day, maybe 1 hour per day and 3~4 hours on the weekends, just be sure to stay consistent. That is key :)

• Where I applied to jobs

LinkedIn, Glassdoor & Indeed. AngelList is not used that much here in my country.

• How much I applied to those job posts

A lot. I usually applied every chance I saw a job post that catched my attention. I kept a record (on an Excel file) of all the companies I applied to, and landed this offer after 185 attempts.

Don't feel discouraged by this. It was my personal experience and I'm sure people can get job offers sooner and without applying that much. When I applied to the first 50-70 companies I only knew HTML5 & CSS, so maybe we can reduce that number from 185 to 110-120.

• When I started to get more reception / positive attention from recruiters & companies

Back in March I already had a GitHub portfolio with some small projects in it, but it wasn't until maybe 1 month ago when I crafted a website portfolio that I started to get contacted more. IMO, a website portfolio is a HUGE plus, since you can showcase the projects you have in a more visual way, talk more about who you are, and capture a bit of your personality on it. As long as it looks professional and clean, you can craft your portfaolio your own way. If you don't know where to start, you can browse sites like Dribbble and get some ideas / inspiration to start. Don't forget to include your contact information so when you share it to recruiters / HR staff / companies, they can get to you!


r/learnprogramming • • May 23 '19

Why study programming when you can just play an RPG?

3.2k Upvotes

Had a noteworthy event a while back I thought many people in here would get a kick out of. This was originally posted in the python reddit, but it was suggested I repost it here, so here it is. I work as the IT tutor at my school and has part of that I handle any Intro to Programming appointments that we get. The class isn't really intended to teach you how to program in a given language, though it does use python, but rather to introduce you to the basic programming concepts of variables, data types, loops, functions, classes, etc.

So I had a student come in, basically at her wit's end, border-line in tears. Short of the long: 5 weeks into class and she was not understanding the concepts and it was really frustrating her. Okay, so I hunker down and start working with her. In this case, focusing on loops (as that's chapter 6 in the book). He seems to kind of, sort of be getting it, if I hold her hand and lead her through it.

30 minutes in and we haven't really made any progress. I took a step back and started working with her on comparison operations. But she wasn't really getting that either. she is getting more frustrated. So I try to get her mind off the material for a moment. Her phone flashes a reminder about "D&D party" tonight. So I ask if she plays D&D. She does, and we chat briefly about the campaign she's in (she plays a rogue, go figure). Then I hit on an idea.

"You know a lot of early programmers were RPG players and because of that a lot of what developed into modern programming was influenced and based on RPG mechanics?"

She looked at me like I'm making a really bad setup for an even worse joke.

"I'm serious. How do you determine if you pass or fail a stat-test?" I ask.

"Well, you determine what you need to roll over to pass, roll a dice, add any modifiers you have and compare that to the first number." She explains, more energetically.

"So you perform a comparison operation?" I asked leadingly.

"Well... no. I mean... kind of... wait..." She stammers out, her response was interspersed as she thought and talked at the same time.

I go to write on the White board:

if Dice_roll+modifiers >= needed-roll:  
    you pass  
 else:  
     you fail

She looked at it for a long moment, you could see the gears turning in her head.

"So the variable, Dice_Roll is added to the variable modifiers.. and that's compared to the needed roll. If the needed_roll is higher... you fail... otherwise... you pass." She parses out, once more thinking and speaking at the same time.

"Yeah... and what about this one?" I ask as I write on the board:

 while enemy_attack == True:            
      player.cast(shield)

She looks at it for a minute.

"So long as the enemy is attacking, cast the shield spell." she says.

"Nice, how about this one?"

 for each enemy in hoard:  
      If player.hp > enemy.defense:  
           Target_enemy = True   
           while Target_enemy == True:  
                player.attack(sword,enemy)

"For each enemy in the hoard... check to see if the player Hit Points are greater then the that enemy's defense. If it is, target that enemy. As long as that enemy is targeted, attack them."

"And you just worked through a while loop nested inside an if control statement that was inside a while loop." I explain.

"What?" She says aghast. She quickly turns back to the board and starts studying the examples intently. I can see her eyes traveling across what I wrote.

"So this on is just a comparison operator?" She asks pointing to the dice roll I wrote out before.

"Yup." I respond.

"And this is just a while loop that would tell the player character to cast the shield spell." She asks sounding more confident.

"Yup." I respond.

Her entire face lights up in that unmistakable look of 'the light bulb turning on'. We start hammering through more examples of loops and control statements, fluctuating between the requirements of her assignments and using RPG examples. It's a fun day when you get to talk about Dragons and knights and actually have it be work related.

So I guess it all depends on what material you use to explain it, right?


r/learnprogramming • • May 13 '20

How I learned programming in the early 1970’s

3.2k Upvotes

TL,DR: I recently retired after 40+ years in the software development industry. I thought you guys and gals might like to hear how things were “back then”. I apologize if this is too far off topic for this subreddit. If it is, point me in the right direction, and I'll quietly go away.

Sorry for the wall of text. I put the TL,DR up front to save you from mental pain and suffering.

Let me set the stage. It’s my sophomore year of high school. I grew up and lived in a large metropolitan city in the western US. More specifically in an upper middle class neighborhood in an upscale school district. Computers were things of science fiction. They were large, room sized monstrosities requiring special accommodations, and cadres of specially trained operators to keep them running. They were made by the likes of IBM, Univac, and others. This was years before desktop microcomputers would become available. IBM PC’s, Microsoft, Apple, etc didn’t exist. Unix was still a closely held trade secret of Bell Labs, a subsidiary of the Bell Telephone system. Linux was decades away.

My school district owned an IBM 370 mainframe for doing scheduling, grading, payroll and other administrative tasks. They had just purchased for students and teaching purposes a new “mini-computer”. It was a Hewlett-Packard 2000C time-shared computer. It was capable of supporting 32 users dialed in over telephone lines via 110-300 baud modems. The operating system was a simple BASIC interpreter. The district installed one or more ASR 33 teletypes in each high school. My school had a small room off of the math department where 3 of these were housed.

My high school offered a one quarter class in programming in HP BASIC, a derivative of Dartmouth BASIC. The class was taught by the math department and focused on using the computer to solve math problems. Typical programs were less than 100 lines in length. On a whim, I signed up to take the class. The class was interesting, but what I really enjoyed was the open access to the computer room after hours. I spent many hours tinkering and playing, writing programs to do whatever struck my fancy. By the end of the one quarter programming class, I had far surpassed the teacher’s abilities, and he recruited me to teach the class the next quarter as “independent study”. This was when I wrote my first program on contract. It was a simple data analysis program to analyze and produce statistics pulled from surveys done by the local chamber of commerce.

By the next year, the district had made arrangements to allow classes in conjunction with the local community college. This was an early version of “concurrent enrollment”. I took a class in computer operations taught using the IBM 370 owned by the school district because the college did not yet own a computer. Here I wrote a few simple programs in COBOL, but mostly learned to hang mag tapes, mount disk packs, change the paper and the ribbon in the line printer, and to wire "programming" cards for the various peripherals such as the card reader, the card sorter, and the card punch.

Fast forward a few years. I had graduated from high school, and spent a couple of years travelling out of the US in a third world country. When I came back, things had changed in the computer world. Computer stores were popping up all over the place selling desktop microcomputers. These were the likes of the Altair 8800, IMSAI 8080, Northstar Horizon, and Radio Shack TRS-80. I enrolled in an electrical engineering / business / computer science program at the university and was learning FORTRAN 4, COBOL, and PDP-8 assembly. None of these would be important to my future career. Stay tuned…

It was during this time that I walked into a local computer shop, and sat down at one of their computers to entertain myself. Within a few minutes I had written a short program to scroll a sine wave up the CRT screen. It looked something like this

10 LET X=0
20 PRINT TAB(SIN(x)*40+40),”*”
30 LET X=X+.3
40 GOTO 20
50 END

The proprietor walked in at this point, saw what I had done, and hired me on the spot. You see, while microcomputers brought computing within the price range of the masses, almost no software existed to make them useful. Likewise, programmers were extremely scarce. Over the next couple years, I wrote for them a complete accounting package for small business, including accounts receivable, accounts payable, payroll, inventory, and general ledger modules. This was quite an accomplishment on a system sporting 32K bytes of RAM and 360K bytes of floppy disk space.

Unfortunately, this job didn’t pay terribly well. I earned less than $3 per hour (about $10 in today's dollars). So I started a second job doing data entry on the graveyard shift at a local food processing plant. I was pretty good and soon was doing all the paperwork in about 2 hours.This gave me a lot of spare time, so I began writing programs to automate various office tasks.

About this time, the C programming language was released to the public from Bell Labs. I picked up the first edition of the Kernighan and Richie “The C Programming Language”” book. It still has a place of honor on my bookshelf in my office. Soon, BYTE magazine published the entire source code for a Small-C compiler, written in C. I typed the whole thing in, and using one of the university computers got it to compile and run, bootstrapping my way to having it run under the Digital Research CP/M operating system on an Intel 8080 based microcomputer.

By the mid 1980’s, microcomputers were definitely a thing. IBM had produced the PC, Bill Gates and crew had become successful with Microsoft MS-BASIC interpreter and MS-DOS, Compaq had successfully defended the first IBM PC clone, and we were off to the races.

Over the following decades, I worked for a variety of companies. Doing software for accounting, banking, computer based training, flight simulation, telephone infrastructure, classified stuff I still can’t talk about, and most recently, cryptocurrency.

I’ve learned and used a variety of languages and scripting tools including BASIC, FORTRAN 4, COBOL, Assembly, C, C++, dBase II, dBase III, Pascal, Perl, Bash, Go, Python, HTML, Scala, and probably a few others I’ve forgotten about. My specialty, and what I consider my best language, is plain old C, especially embedded application code under Linux.

As I said above, I’ve recently called it quits and retired. I miss the camaraderie of coworkers, the thrill of solving difficult problems, and the satisfaction of seeing your code used far and wide around the world. I do not miss impossible schedules, corporate bureaucracy, shrinking benefit packages, and unknowing and uncaring employers.

Don’t get me wrong, I will keep coding. Probably not huge systems. My latest are little embedded projects for Arduino and Raspberry Pi controllers.

It’s been a wild ride, and I’d do it again. It’s kept food on the table, a roof over my head, enabled me to travel the world, and be a part of something bigger than me. What more could a guy ask?

Edit: Thanks for all the kind comments! It makes me feel warm and fuzzy about the next generation of coders. I’ll come back and read more comments in the morning, my wife just poked her head into my office and gave me that look that says “Get your butt off of Reddit, and into bed or I’m locking the door and you’re sleeping on the couch.” G’nite ladies and gents!


r/learnprogramming • • Nov 13 '17

I have been rejected by over 100 jobs in my past 2 years as a developer from code bootcamp. My story. Never give up.

3.2k Upvotes

I would like to preface and apologize if this is the wrong place to post. But I'd just like to share my experience since getting into code.

I was working at an engineering job right after college and basically hated what I did. Very corporate america, my boss had 3 bosses, I had 2 managers, felt like cattle in a cubicle farm. I started looking at remote jobs because I couldn't figure out why I needed to be in a cubicle to write excel sheets and create power points all day. When I looked up remote jobs I realized they were all basically software development. I wondered why I went to school for mechanical engineering anyway since I spent all of my time playing video games, building my own computer, everything IT except for code.

After that feeling of regret wore off; I looked up boot camps in my area. I knew that if I tried to learn myself or online I would get stuck, become frustrated and probably quit. I wasn't comfortable with being uncomfortable yet. Unfortunately, most of the code boot camps designed to actually get you a job were from 9am-5pm for three months straight. I didn't have the finances to just quit my job and I wasn't going to take out a loan to go either. So I went to this 'after hours' part time(specifically noted that it was not preparing you for jobs) boot camp a few days a week at night and on the weekend. They refused to list the job statistics for students after the program but after harassing them about it they gave me a 'less than 28% of students get a job after this program'. I decided maybe if I bust my ass enough I can be part of that number. It started off pretty easy, I had taken an HTML class in high school, no big deal. Then came CSS - oh this is a thing I connect to the page and change how it looks. Then came Javascript - oh this is neat...wait..what, but I don't understand..so this works but this doesn't? Why? Oh that's just that way it is. okay.jpg. Rinse repeat that process of continually being baffled until I eventually accepted a continuous state of 'I'm not sure how to do that, and I've never done that before, but... I'll figure it out.'

This type of attitude has served me even beyond the local scope of programming into the global scope of my life.

Toward the end of the bootcamp most students had dropped out. There were 4 left. Not many people my age(25 at the time) want to give up their Saturday morning to come into a classroom and learn to code. I wasn't the exception, especially when rocket league had just released and one 5 minute round warps space-time and 3 hours goes by. I managed to keep it under control and show up every class.

I started shotgunning out resumes to almost every job posting I could find with the word development in it. I'd like to take a moment and apologize to the 67 HR people that stated 'Do not apply unless you have x experience’' and 'please stop applying to other positions at this company'. I would rather take a chance then not, it's not like I lose anything when they say no. I figured maybe if I could get their ear for only a minute then I might be able to convince them. Eventually a brand new startup messaged me back and brought me in for an interview. It was for ruby on rails. Nope - 0 experience but I'll learn whatever you want me to learn. They gave me a code test, maybe as a sick joke to get me to go away. I took it and spent about 8 hours trudging through it until I finished. I brought it back and to both our surprise it looked good. Then they told me no, sorry, not enough experience. We shook hands and I went about my day. I decided to call them up and ask if I could work part-time. Let me be an intern, don't make me the main man on your technology but let me work on something easier.

I knew that they were a fresh startup on the block and that if they had interns it might let them look good. Gives that curb appeal of 'we are hiring the fresh minds in the tech space'. Anyway - they said 'We'll consider it, let me call you back'. They called me back and said 'Yeah can you work 20-25 hours a week? We'll pay you $18 an hour'. I was prepared to work for free so when I read that I was floored. Feeling like I was on top of the world I asked if I could also work from home a few days a week since I was going to keep my full-time engineering job. In retrospect I was probably pushing it. They agreed though, for whatever reason. I thought I had achieved the dream, and in a way I had. It was a startup environment, I could bring my dog, they had beer fridays at 1:00pm, a snack room, an xbox if you wanted to play during lunch. I thought I was hot shit. Yeah I'm a 'software developer' now throwing my title out like a left hook. Then I showed up for my first day at work to get my equipment and it hit me.

Now I actually have to produce for this company. None of this means anything if I can't code. I don't know ruby on rails, I've never used git in a professional environment. I merged my own pull request on the first day. That was bad. Luckily I didn't delete an entire repo like the other guy on here. Suddenly everyday felt like wait why did you hire me again?

I struggle bussed my way through 6 months and kept my full time job as an engineer. I started looking at other full time jobs in software because every day I showed up to my engineering cubicle I lost a piece of my soul.

I found a full-time PHP junior software position and they brought me on. I maintained my intern job as well. I knew there were growing pains but it felt more like I was being torn from limb to limb. Under experienced and overconfident. I'm pretty sure Kendrick Lamar was directing his lyrics at me. Sit down, be humble. I now try to be a student in every aspect.

I worked there for about 5 more months and I was replaced by someone with more experience that was willing to take the same pay as me. The joys of being a junior developer.

I decided you know what, I've been doing this for a while - I'm going to try and get a fully remote job. I applied to a few places and actually received two job offers at the same time. For the first time I felt like it was starting to pay off. Two companies want me? I have a choice? What is life? I accepted a fully remote job doing react and PHP. Things started to come together. I started to think 'I have an idea about how to do that but it probably wont be optimized'. After a year the US election happened and I was working for a government contractor. Suddenly the budget was under review and there were no more contracts. No more work for us to do. The entire development team was let go. 15 people.

Enter my most recent job. For whatever reason it was more difficult to find another fully remote job this time. I was declined by 90 jobs. Endless interviews, after interview #4 for company #63 it can get hard to stay 110%. I had a portfolio, decent resume, passed code tests, followed up even willing to take less money. I'm not sure why it was more difficult this time around. As my funds ran out I decided I'll work locally. I eventually accepted an office job and work remote partially. It's not my favorite thing but it's good for me. It keeps me on my hustle and networking with people is everything. I enjoy being in the office and enjoy the people I work with; they are flexible when I want it. When I was unemployed and constantly getting told 'NO' - knowing that I am approaching homelessness was difficult to process. Especially because I had received two offers at the same time just a year prior. One piece of advice I think about is 'Keep your head up when times are tough, and your head down when times are good'.

Even now I don't think I am 'the best' developer. I'm confused and stumped pretty regularly. I used to wonder if 'code was for me'. Now - I embrace the struggle and can look back and see all I've learned. At code camp I was always the last one to finish the in class projects or moved on with it incomplete. I've dropped out of college 2 times before finally finishing. Academically I was never amazing.

I now work two jobs. One full time as a front-end developer and a part-time where I teach code to students but this isn't intended to be a promo for that so I wont name it. I just like helping people learn since I know what it's like.

If you're in one of my many situations never give up.

Thanks for reading.

TL;DR Went to code bootcamp because hated corporate america job. Worked at a startup, remotely, and now partially. Has been a rough upward ride overall.

Edit If anyone has any questions - feel free to send me a message here and I'm happy to help. Oh boy someone found it. If anyone is interested I have a small youtube channel where I talk about these topics and more. Prepareforcringe. I'm still learning, but my goal is to help and motivate others with transparent information.

Edit Thanks for the gold kind stranger.

Edit So I received a few questions about free resources and the bootcamp I teach at along with my thoughts on other bootcamps.

This isn't intended to be a promotional and I'm not sponsored to write this, but whatever - check these out if you want.

It's called OpenClassrooms. Weekly Mentor meetings. Price: $300/month and has a job guarantee. I teach there so take that with a grain of salt. Do your research and find what works for you. If interested there's the discount code, OPENCLASSROOMS12 if you want to try it out. I don't know how many there are. First come first serve I guess.

I personally attended DevMountain in 2015 in Salt Lake City, Utah. It has a pretty great rating and overall I thought the curriculum was modern but there just wasn't enough time in the evening courses to fully prepare for jobs. It also has no job guarantee. Price: $4500

LambdaSchool Completely free until you get a job that pays more than $50,000/yr, with a part-time option

Thinkful is also great. Weekly mentor meetings. They have a job guarantee. Price:$8500

Bloc.io - Basically just Thinkful that costs slightly more. Job guarantee.Price:$8800

Free Resources I used to learn and still do:

Freecodecamp - Huge awesome community.

Codecademy - Pretty great for beginners. They're always updating it.

Codeschool - Follow along tutorials.

Codecombat - Make games and learn. Pretty interactive.

Udemy Courses. - Plenty of free content with project based learning.

Keep on hacking.


r/learnprogramming • • Apr 21 '21

Resource 25 Programming YouTube channels you should consider following!

3.2k Upvotes
  1. freeCodeCamp.org - https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ

  2. Telmo Sempaio - https://www.youtube.com/user/Telmo87​

  3. Traversy Media - https://www.youtube.com/user/TechGuyWeb​

  4. Clever Programmer - https://www.youtube.com/channel/UCqrILQNl5Ed9Dz6CGMyvMTQ

  5. Academind - https://www.youtube.com/channel/UCSJb...​

  6. Codestackr - https://www.youtube.com/channel/UCDCH...​

  7. WebDevSimplified - https://www.youtube.com/channel/UCFbN...​

  8. Programming With Mosh - https://www.youtube.com/user/programm...​

  9. DevEd - https://www.youtube.com/channel/UClb90NQQcskPUGDIXsQEz5Q

  10. Net Ninja - https://www.youtube.com/channel/UCW5Y...​

  11. Sexy Design Course - https://www.youtube.com/user/DesignCo...​

  12. Florin Pop - https://www.youtube.com/channel/UCeU-...​

  13. IHateTomatoes - https://www.youtube.com/user/ihatetom...​

  14. Stephen Grider - https://www.youtube.com/channel/UCQCa...​

  15. Colt Steele - https://www.youtube.com/channel/UCrqA...​

  16. Wes Baws - https://www.youtube.com/user/wesbos​

  17. Ex Tech Lead - https://www.youtube.com/channel/UC4xK...​

  18. MMTuts - https://www.youtube.com/user/TheCharm...​

  19. Derek Banas - https://www.youtube.com/user/derekbanas​

  20. Programming With Erik - https://www.youtube.com/channel/UCshZ…

  21. Coder Coder - https://www.youtube.com/thecodercoder

  22. Faraday Academy - https://www.youtube.com/channel/UCxA99Yr6P_tZF9_BgtMGAWA

  23. Mayuko - https://www.youtube.com/c/hellomayuko

  24. CodeBeauty - https://www.youtube.com/c/CodeBeauty

  25. Ania Kubow - https://www.youtube.com/aniakubow

Honorable Mention:

JavaScript Mastery - https://www.youtube.com/channel/UCmXmlB4-HJytD7wek0Uo97A

Edit: Suggestions i got from comments-

  1. Coding Addict - https://www.youtube.com/channel/UCMZFwxv5l-XtKi693qMJptA

  2. The Cherno - https://www.youtube.com/c/TheChernoProject/videos

  3. mCoding - https://www.youtube.com/channel/UCaiL2GDNpLYH6Wokkk1VNcg

  4. Fireship - https://www.youtube.com/channel/UCsBjURrPoezykLs9EqgamOA

  5. Corey Schafer - https://www.youtube.com/c/Coreyms/featured

  6. Alex Damiani( our fellow redditor on this sub u/pyyoutuber) - https://www.youtube.com/channel/UCTebDgj-GzOh3zo9Xf1vO4A/featured

  7. javidx9 - https://www.youtube.com/c/javidx9/featured

  8. Kevin Powell - https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw

  9. Computer Science - https://youtube.com/channel/UCbmb5IoBtHZTpYZCDBOC1CA

  10. Bro Code - https://www.youtube.com/channel/UC4SVo0Ue36XCfOyb5Lh1viQ

  11. ForrestKnight - https://www.youtube.com/channel/UC2WHjPDvbE6O328n17ZGcfg

  12. sentdex - https://www.youtube.com/user/sentdex

  13. Abdul Bari - https://www.youtube.com/channel/UCZCFT11CWBi3MHNlGf019nw

  14. The Coding Train - https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw

  15. Tech with Tim - https://www.youtube.com/channel/UC4JX40jDee_tINbkjycV4Sg

  16. CS Dojo - https://www.youtube.com/c/CSDojo/featured

  17. Ben Awad - https://www.youtube.com/user/99baddawg

  18. IAmTimCorey - https://www.youtube.com/user/IAmTimCorey/featured

  19. Neso Academy - https://www.youtube.com/user/nesoacademy

  20. Simplilearn - https://www.youtube.com/channel/UCsvqVGtbbyHaMoevxPAq9Fg

Another list made by u/theguy2108 - https://www.notion.so/d87db336139a4ef5b989350334ce748d?v=1390026fe1944c5b832e95104dd07e52


r/learnprogramming • • Sep 14 '20

Being self taught, I just got hired as a junior web developer

3.2k Upvotes

Well finally my dream came true, I know it's cliche but hard-work really pays off, thanks to you all those who supported me, your simple comments/posts meant a lot to me and helped me go through rough times. I can't wait to help guide others get their first job peace.

Edit: WOOW didn't expect this to blow up, I wish I could answer every single one of you but I just couldn't keep up.Thank you all very much!

Edit2: Since many of you have asked, my next post will be about my journey, the resources I used to learn and how exactly I broke into this industry.


r/learnprogramming • • Jan 22 '21

Resource Spend 1 minute a day to improve your coding skills

3.2k Upvotes

I have a youtube channel called Python in 1 Minute where I publish a short Python tutorial every day. My goal is to teach a common pattern or technique in under 60 seconds.

I try to be respectful of the viewers time and make the videos terse and clear with as little unnecessary fluff as possible. The content is mostly aimed at beginners, I hope it can help some of you to get into the habit of learning something new every day.

As I'm just starting out with this youtube thing, I'd love to hear your feedback regarding the format, content, anything... (topic suggestions are highly appreciated as well).

(Sorry for the crosspost, I've already posted this in r/python a few days ago, but as the feedback was overwhelmingly positive I guess some people over here would find it useful as well.)


r/learnprogramming • • Apr 24 '21

I did it!! One year of self teaching and I just landed my first job as a software engineer!

3.2k Upvotes

I am beyond happy! I somehow managed to land a job at the company I originally learned C# for! One year of study, I have no idea how many applications, and 6 interviews later I get to do what I love for a living! All I have to say is Wooooooo! And a big thank you to this sub, y'all are amazing!! I am off to drink this champagne guys!

update: My bad guys. I knew I would need to form a list of resources but I was way too giddy to get that done last night. So here we go,

Started studying while I was still employed at the airport, First course I did was the 300 hour web development 101 on codecademy. By the time I finished that course I was actually furloughed and decided to study full time and remain unemployed. I'm just going to list them and all of the books I read in no particular order. I will say that I chose C# to focus on as my OOP and that's reflected in the courses I chose.

UDEMY: The complete web developer course 2.0, C# for beginners- Coding from scratch, React - The complete guide (I still haven't finished this), RPG Core Combat Creator: Learn intermediate Unity C# coding, Learn C# by building applications, CRUD application using C# and SQLite, Build a real world app with asp.net core and angular

TIM COREY: The complete foundation in C# course (this one was a beast for me)

BOOKS:

Code: hidden language, C# Player's guide **, C# in depth (haven't finished this one), Clean Code **

YOUTUBE: Mostly Tim Corey, Mosh and anything I felt could make up for me not having a CS degree. Or any degree. And shout out to tech lead! His insanely dry humor helped keep my spirits up.

I studied for 6 - 10 hours a day for four days a week. I would occasionally take days off to get some yard work done or do something physical. I doubted myself a lot, I still doubt myself but I think in the interviews with this company they knew that I was very passionate and want to learn as much as I can. I really believe my attitude is what got me this job because my portfolio is nothing to write home about.

Github Link: https://github.com/JordanHay?tab=repositories


r/learnprogramming • • Feb 22 '22

Topic I made a list of FREE sites and apps to learn programming

3.2k Upvotes

Hey everyone! I thought id share some of the sites i’ve been using to learn programming for FREE. Yes I really did download multiple free coding apps where there’s a will there’s a way no excuses :). Also pls note that some apps are only available on iOS

Sites and apps where u can learn coding for free.

  • Grasshopper

  • Code Avengers

  • Mimo

  • Geeksforgeeks

  • Khan Academy

  • Alison Online Courses

  • Programming Hero (kid-friendly)

  • Encode

  • Coursera

  • Tynker (kid-friendly)

  • Codeliber

  • W3schools

  • Exercism

  • MITOpenCourseWare

  • Free Code Camp

  • edX

  • The Odin Project

Code learning gamified and kid-friendly

  • Cyber Dojo

  • imagiLabs AB (kid-friendly)

  • CodeSpark Academy (kid-friendly)

  • Hopscotch Programming (kid-friendly)

  • Lightbot Code hour (kid-friendly)

  • Kodable (kid-friendly)

  • Flexbox Froggy

Learn coding on youtube

  • The Coding Train

And that’s it! Please comment below if i forgot any other sites and i’ll add them to the list asap! ———

UPDATE: Recently added as per your suggestions:

  • CS50 by Harvard University

  • Sololearn

  • Leetcode

  • U of Helsinki Mooc

  • College Compendium

  • Kaggle

  • TeachYourselfCS

  • Codingame

  • Hacker Rank

  • LearnXInYMinutes

  • App Academy

  • Code Camp

  • Code Wars

Youtube:

  • FreeCodeCamp

  • Fireship

  • CodingWithMosh

  • IAmTimCorrey

  • Grafikart.fr

  • AnthonyWritesCode

  • Corey Schafer

  • 100 Devs

UPDATE:🤍 I’m so happy you all found this to be a helpful guide in your programming journey! Let’s do this!


r/learnprogramming • • May 26 '18

What online courses are 100%, entirely worth it?

3.2k Upvotes

I've heard even prestigious universities sometimes produce boring or shallow content... What online course has been entirely worth the time required for you to take it?


r/learnprogramming • • Apr 15 '19

Not trying to be Rude ok! but i think this sub needs to be More accepting of the people who asks questions, if I’m asking a question it means I don’t know what I’m talking about and i need guidance, I don’t need you to make me feel like programming isn’t for me.

3.1k Upvotes

I love this sub, but at the same time I’m afraid sometimes to ask questions and receive answers like “lol, you clearly know nothing about coding “ or “Go learn before asking “ or “Why would you ask that!!!” Not trying to be mean, there are a lots of amazing people out here who helped me a lot, and I’m very grateful for your help!! ... Just saying we have to be a little more understanding and patient with each other. Thanks and sorry if i offended anyone.
Edit: some people here pointed out that i was highly disrespectful of others, because I included some disrespectful comments of other people in my post, so In order to not offend anyone i deleted them. I also would like to note that i added them in the first place just as an example of the comments that you can encounter when asking questions in this sub. Thanks.


r/learnprogramming • • Dec 31 '19

Second edition of Automate the Boring Stuff with Python is now free online.

3.1k Upvotes

r/learnprogramming • • Aug 17 '20

Took a bootcamp. More than doubled my salary. Not at all what was promised or how I thought the process would go. Here's what I learned.

3.1k Upvotes

Hold up. This won't be one of those posts that starts "I took a bootcamp and some Udemy classes and in 8 weeks of programming, I got an offer for six figures". I do see those posts and if you are one of the lucky ones, I'm super excited for you. That's not at all how it went down for me. I'm writing this to give my perspective for those people at the beginning of their coding journey and for those potentially thinking about a bootcamp.

Let's rewind a few years ago. I got my degree in design. Took a job at a startup where after designing for a bit, the owner asked me to take more of a role in marketing because the company needed my efforts there. I sacrificed my skillset for the company and shelved my design skillset. The startup sputtered and long story short, I was out of a job with a design skillset that wasn't developed enough to get a job and an atypical marketing skillset that wasn't up to standards for corporate positions.

The decision to switch careers - After several failed interviews, I like many others, needed something. As much as I didn't want a career change, I felt I had to take the plunge. Programming seemed like a good option. I saw the quantity of job openings and the salaries attached to those positions. I knew I was a critical thinker and I knew I loved to tinker with puzzle-type situations. I also dabbled in solving and fixing minor problems with the Shopify-based website at my previous job and knew that programming was fun. I thought a bootcamp might be a good opportunity to learn a new skillset quickly and increase my market value and get me back producing for a company.

I interviewed several bootcamps and heard all the stories: "We have a 94% placement rate." "Our graduates walk out of here with companies banging down the door." "Just last cohort we got a kid who got a job at Google." I heard it all. From what I gathered, bootcamps seemed to tout a high success rate of job placement and good networks in position to place their students. One bootcamp had two instructors that I found especially brilliant, so I pulled pretty much all my reserves of $15k from under my mattress and signed up.

Day 1 of bootcamp - First thing I noticed was I was immediately put into a bait and switch. Which really pissed me off because I already signed the contract and paid the cash. The instructor that I really liked, was pulled into another location and they replaced him with a kid that just graduated a bootcamp 3 months prior. If I was paying $15k, I expected industry professionals, not some kid with zero industry experience. And come to find out, hiring recent bootcamp grads to be bootcamp instructors is not an uncommon practice. I was considering leaving and potentially making a fuss, but after talking with the instructors, I found that they had plenty of resources to learn from, projects to build and the experience would be entirely dependent on me and how much I was willing to pull from it. I recommitted to max effort regardless.

The bootcamp - Of the 25 kids that started in my cohort, 10 finished the camp. The dreams of the students were big, but the work ethic was virtually nonexistent. Most kids treated the camp as a continuation of high school. They'd put their butts in the seat until class got over in the early afternoon, then they'd bounce. Many of the other students would play PC games during lecture or cruise social media. But when we'd talk about careers each student would ask questions like "So I want to live just off the coast in Hawaii so I can just surf all the time, what's the likelihood my first job will be remote?" or "I was looking at going salaries for programmers, I was thinking about asking HR for around $150k for my first job. Is that too much or should I ask for something more along the lines of $120k?" The point being, most people treated the bootcamp and programming as a life shortcut. They figured as soon as they had their certificate of completion, the job offers would rain from the skies. Let me be very clear for those who are thinking about a bootcamp. A bootcamp certificate means jack shit. Not one company will be impressed with a completion of a bootcamp. Companies want to see what you've worked on and what knowledge you've picked up along the way. The network that the bootcamp touted was worthless. We had a couple industry devs come and talk with us, but none of which were hiring. There were only 3 of us in our cohort that really pushed each other. I'd catch the earliest train at 5:30 AM and catch the latest train home at midnight. Many nights I'd pull an all nighter or I'd stay at the building and just nap on the couch for a couple hours. We'd pour over stack overflow. Every couple of days we'd ask the instructors for additional curriculum and projects to work on. We worked as hard as we could work in a hyper-focused setting. Even then, after 12 weeks we felt like we knew nothing. I was still bumbling through creating databases and my frontend React was only just slightly better.

Post bootcamp - Immediately I began applying for jobs upon completion. I had a couple contacts who worked at dev firms whom I reached out to and they tried my hand on small contracted jobs. I completed the tasks, but my code was shit. I didn't really know industry standard for code and I was still just learning to bumble through things just to make it work. I didn't know how to make things fast or correctly. I asked for a job at the firm after completing the contracted assignments. The firm denied me. After that, my time was spent juggling filling out applications, doing interviews, completing interview code problems, building small projects, building my own site, finding interview prep questions, following tutorials on Udemy, Youtube and Pluralsight and then on tricky code problems on sites like Codewars and Hackerrank. The process sucked. No matter what I was doing, I felt like I should be spending more time on other aspects of development.

Interviews - In this period I was getting plenty of interviews, but the results were usually the same. The initial interview with HR was always a breeze. I know how to talk about my work and I'm personable enough to be able to relate to people. The second interview with the manager was usually pretty easy as well. Generally they'd ask about my background and some basic coding stuff to see if I could hold my own. I'd try to be upfront about my experience while still sounding like I knew what I was talking about. Maybe about 2/3 of the time I'd get to the take home coding challenge or to where they'd call me in so I could get grilled in person. Most of the time if I was able to take the coding challenge home to where I could research things I knew nothing about, I'd crush it. They'd ask me to build small apps. Maybe I'd get asked to solve a tricky Javascript function. Explaining different terminology or how a certain technology was used was my biggest shortcoming. During the coding challenge, if it was timed or if they'd do a screen share and watch me or call me in and watch me code in front of a group, I was a mixed bag, sometimes I'd do well and other times I'd crash and burn miserably and completely embarrass myself. Pretty soon I got very accustomed to the rejection process. I'd make it to the end of the interviewing process, sometimes doing as many as 8 different interviews. I'd get passed the final interview and then the department managers would call me or I'd get a rejection letter so I'd reach out to them to find out how I could improve and they'd tell me identical stories. "Look, we're incredibly impressed by your skills and we feel you'd fit right in with the team, we love your personality. We got hundreds of applications for this position and we narrowed it down to only a couple candidates, and basically what it boils down to is we really just need someone right now with 3-5 years experience that can really hold their own and we don't have to keep an eye on." It's always 3-5 years experience.

Job 1 - This job was kind of a fluke and I don't really know if it counts because I was hired on for such a short time. It took six months of grinding out code after graduation to get my first job. It was a very small start up that needed someone who could do several things. I had a background in marketing, design and development. They hired me to do all three. What they needed was three experts in all three fields. I could handle my own in all three fields but my no means was I an expert. They hired me with very little dev screening and just took me at face value thinking I was an expert front end dev, back end dev, IT department and security dev. There was definitely a misunderstanding of what they thought a dev was and me explaining where I was in the process. Upon being hired, I didn't do as much development as I'd hoped, but it was a job. My salary was slightly more than what I was making before all this started. But alas, money mismanagement was a pretty big problem in the company and within four months the company needed to lay off all their staff.

Interviews Part II - This was the hardest part. This wasn't logistical or tactical. This was 100% an emotional grind. Firstly, I was incredibly fortunate to have a spouse making a good salary who could support me during this time and more importantly would build me up during the hard times. Without that, I'd have given up early and taken whatever low paying job I could find. During this time, it was a time of doubt, anxiety, depression, uncertainty, questioning my decision to go all in on programming to begin with. I went back to juggling my time between applying for jobs and working on projects. I'd work on small websites that some friends needed for pretty much zero pay just to get them in my resume. This time around, the interviewing process really sucked. I had around 120 phone interviews and about 40 companies do in-person interviews and coding challenges. Always the same response "You're super smart and a quick learner and we're incredibly impressed at how much you know. We think you'd be a great personality for the team. It just came down to you and someone with more experience so we opted to go with the person with more experience." Rejection. Depression. Try to put on an excited face for the next set of interviews. Rejection. Deeper depression. Rinse. Repeat. This is the part I never read about from other people on r/learnprogramming or bootcamp reviews. I thought it would be fairly quick. I thought that companies had a huge need and were willing to train raw talent to put butts in seats and fill positions. Suicidal thoughts began to creep in. Some especially hard days after a brutal rejection I'd just sit on the ground and cry with my dog laying next to me.

Job 2 - After 12 months since being let go of my first job, and nearly 2 years since completing bootcamp I found another smaller company that again needed someone who was a bit more rounded and scrappy. They had a Shopify based website and needed some design and some development. I'd be pretty much on my own as a dev, but the tech stack wasn't too complicated and I could focus on some basic elements while slowly expanding my arsenal of skills. They weren't tech savvy and were again convinced that a dev just meant you knew all things about code without going into too much depth of my skill set. I asked for 150% of my pre-programming salary and they complied. This actually was the perfect position for me. I was able to fake it and they were incredibly impressed by very simple projects. I increased productivity on many fronts. The company grew. They were impressed by me, but much of it was due to the simple tech stack they were dealing with. Company was well run and we grew together. I was in a good position but the job just had a couple inconveniences (benefits weren't great, salary was good but not great, I wasn't doing as much code as I'd hoped, tech stack was dated, commute took about an hour one way).

Job 3 - The dream position. A friend of mine who had initially helped convince me that programming was a good career change, just reached out one day and asked if I was looking for a change of position. I told him I was always listening. The new position was everything I had dreamed of: the latest tech stack, an incredibly gifted team to grow and learn from, the best company with all the perks and benefits. I had serious doubts I would be able to produce at that high of a level. They interviewed me. I crushed the personality interview. The take home challenge was to create a mini version of the app they were building with the tech stack they were using even though I knew nothing of their tech stack. I completed the task in 4 days with 2 all-nighters and just poured over tutorials and docs. The project ran great. I had 2 more rounds of interviews afterwards and did well on all of them. They asked my required salary I told them 210% of my pre-programming salary. I finished my interviews and landed the job. I've been working there for about a year and it's been a dream come true. Programming is everything I had hoped it'd be and more. I'm crushing the projects I work on and I've been growing at an incredibly rapid pace.

Post experience - It took almost 3 years from the date I decided on a career change into programming to land my dream job. During the process I got rejected a lot. I cried. I worked my ass off. I got knocked down. I got back up. Then I got knocked down again. And finally I made it. At many times I questioned my decision and didn't know if it was the right career move. I had two major advantages many people don't have in getting my dream job: a friend willing to guide my career change and recommend me for my dream position, and a spouse willing to support me emotionally and financially during the career transition. Looking back I ask if I'd go through it all again with the knowledge that it would take years and a lot more work than I was originally anticipating to learn programming: without a doubt yes, I'd do it again. I mean, I wish I could have harnessed my expectations for just how much time I'd spend banging out code before I'd get the position. But the field is so rewarding.

TL;DR - Did a bootcamp. Changed Careers into programming. More than doubled my salary. It took much longer than I was anticipating, a hundred times more work than I was anticipating, and took me to the darkest place emotionally I'd ever been. It wasn't rainbows and unicorns like most stories I've read on here. It's not the story that will blow sunshine up your ass. But it's my story.


r/learnprogramming • • Feb 03 '20

The Missing Semester of Your CS Education (MIT course)

3.1k Upvotes

Over the years, we (/u/anishathalye, /u/josejg, and /u/jonhoo) have helped teach several classes at MIT, and over and over we have seen that many students have limited knowledge of the tools available to them. Computers were built to automate manual tasks, yet students often perform repetitive tasks by hand or fail to take full advantage of powerful tools such as version control and text editors. Common examples include holding the down arrow key for 30 seconds to scroll to the bottom of a large file in Vim, or using the nuclear approach to fix a Git repository (https://xkcd.com/1597/).

At least at MIT, these topics are not taught as part of the university curriculum: students are never shown how to use these tools, or at least not how to use them efficiently, and thus waste time and effort on tasks that should be simple. The standard CS curriculum is missing critical topics about the computing ecosystem that could make students’ lives significantly easier.

To help mitigate this, we ran a short lecture series during MIT’s Independent Activities Period (IAP) that covered all the topics we consider crucial to be an effective computer scientist and programmer. We’ve published lecture notes and videos in the hopes that people outside MIT find these resources useful. The course website is https://missing.csail.mit.edu

To offer a bit of historical perspective on the class: we taught this class for the first time last year, when we called it “Hacker Tools” (there was some great discussion about last year’s class here: link). We found the feedback from here and elsewhere incredibly helpful. Taking that into account, we changed the lecture topics a bit, spent more lecture time on some of the core topics, wrote better exercises, and recorded high-quality lecture videos using a fancy lecture capture system (and this hacky DSL for editing multi-track lecture videos, which we thought some of you would find amusing: https://github.com/missing-semester/videos).

We’d love to hear any insights or feedback you may have, so that we can run an even better class next year!

--Anish, Jose, and Jon


r/learnprogramming • • Apr 19 '22

Story With no degree or prior experience, I got a job in programming after 8 weeks of studying off of the back of soft skills and a personal project.

3.0k Upvotes

Using a throwaway.. I hesitated on making this post, but I figured I'd throw it out there. I'm sure I'll get 1,000 people with "ACTUALLY..." kind of comments, but whatever.. this place encouraged me in my start so hopefully this can help someone else.

I had never typed a line of code in my life when January 2022 rolled around. I wanted to change careers, looked into data analysis, then ended up stumbling on software programming and saw that it was possible to teach yourself.

I immediately started looking for someone I possibly knew who was doing it, got their number, and offered to buy them lunch for an hour of their time. Over lunch, the guy (who has been a programmer for 15 years) told me 3 things...

  1. You can teach someone to be a programmer easier than you can teach someone "not to be a dick or be hard to work with" (his words, not mine)

  2. Personal projects that you commit to and can show off are worth more than any certificate or bootcamp.

  3. If you're not going to be experienced, you'd better be humble and willing to learn, and you display that by asking good questions.

I started building an app from the ground up with no coding experience. I did TOP for 2 weeks to get a a handle on HTML/CSS basics, then used a guide to help me start building my own app. I started the app by mapping out all of the layers I'd want it to have, then just started taking it one step at a time.

I got comfortable enough after about 5 or 6 weeks that I was reading junior developer job descriptions that didn't sound outside of what I could figure out, so I started applying. I wrote in my journal in February "Applied for jobs today that I'm way under-qualified for, but oh well, the worst that can happen is that I get told no".

I got a call from HR from a company, then a meeting with the hiring manager (who is an expert in the language I'm working in), did good on those, then was given a project. I was told the project should take 2 to 4 hours. It took me 14 hours. I didn't anticipate getting the job, but it was a good learning experience. I got on a follow-up call with the hiring manager, and he offered me a job because he thought I was great in the interviews, asked good questions, and showed "great enthusiasm to learn". There were several people with CS degrees who didn't get hired who also applied.

I've been working full-time for 2 weeks and just had a call with my boss yesterday where he told me he's giving me a promotion to fill-in for another employee who's leaving. I'm way under-qualified, but they're being very patient with me and letting me learn on the job and they're pleased with my progress. Every task they gave me to complete in my first 3 weeks I finished with plenty of time to spare.

Here's how I'd boil down what I did...

  1. Ask good questions in the interviews. Don't just ask about pay or try and talk yourself up. Even with the HR person, ask them about themselves, how long they've been there, what they love to do, what they love about where they work, how they got started in programming (if applicable), what a great teammate looks like to them, what big projects are they working on, what's something they've learned in the last 3 months at work, what do they want to get better at, etc, etc. etc. I don't know how else to say it other than take a genuine interest in them and be a normal person. You're not being interrogated, relax and just talk to them.

  2. Be honest about where you are. No one is going to be willing to teach you if you're not honest about needing help. It's true that people hire juniors for potential. Hiring managers sit through a ton of interviews, they will see through the fronting and pretending. Be humble and teachable. You have to be honest about what you're not good at or you're going to have a hard time getting better. It's okay to not be amazing yet. A sign that someone is going to be a good learner is that they ask good questions and aren't afraid of being wrong or not knowing something. Have a good attitude about not knowing.

  3. Have a personal project, it's the best way to learn for me and I imagine many of you. Nothing will test you more than having to be the product manager of your own app. Use databases, build out user infrastructure, make it look nice, etc.. nothing will make it stick more in your brain than just pouring over issues that are unique to you and your app.

This is just my experience. Feel free to ask me questions, or don't. Hopefully this helps someone identify where they need to get better.

edit: One more tip that I can't believe I forgot, maybe the most important one..

I asked the hiring manager "What's been your experience hiring for this role? What's been the thing that separates candidates or been the most common thing that's been frustrating?" He said that it's very hard to hire someone who doesn't have a good answer to the question "why do you want to be a programmer?" other than to say "well, it just seems like a cool job" or "the money's good". Those reasons are obvious, but if someone's going to put their neck on the line to hire you and vouch for you, it's important that you have good reasons for wanting that job. Reasons that are unique to you and what you bring to the table.

For example, mine was "I want a job where everyday I know I'm going to be challenged and learning for the rest of my life. A job that will never be about doing the same thing, but will push me and allow me to learn." He liked that answer


r/learnprogramming • • Dec 12 '22

Topic Made it as a full time game programmer, 100% self-taught!

3.0k Upvotes

So this is my little success story! I remember back when I started learning programming I was constantly doubting myself as well as the path of self learning, and reading those posts helped me a huge ton, so I figured I could post one in case it motivates anyone!

So I am now 32. I've been in the sound design field my whole career (from 21 to 29), and had a change of heart at 29 when I realized I had no financial / job security in this field. Decided to quit, got a QA job in a indie game company, and started learning programming in my free time. Bought some online courses on Udemy & Zenva, and went heads deep into tutorial hell. Worked on this almost every evening and weekend, even had a mobile app to practice C# basics while commuting to work, and had my boss' approval to continue my courses during work lunch hour.

The first year was hell. Don't get me wrong, it was exciting and I found out programming is actually a whole lot of fun, but I'd also wake up every morning wondering if I'd ever manage to get a programming job without having a degree, and if I'm even smart enough to get good enough to be employable. There was a LOT of self-doubting, but I pushed through anyway. I'd put everything I learned into personal projects (I even finished creating a full game that's available and fairly popular on itch.io) and eventually got out of tutorial hell after almost 2 years lol.

Then things drastically picked up when the company I work at decided to make a game jam for employees only. Production paused for a week, everyone formed into teams of 5-6, and we made games from scratch based on a specific theme during that week. I took that opportunity to ask my boss if I could be a programmer in my team for this game jam, so I could show off what I've learned a bit.

My team's game was a complete success, everyone loved it, and I was able to code everything myself, despite the project being fairly difficult (some mechanics were way harder than anything I've had seen in any tutorial / course). This was apparently enough for the lead programmer to see what my skill levels were, and a week later my boss asked me if I wanted some programming tasks here & there to get used to the work, and told me he had full intentions of making me a full time programmer when they will have a spot available. That was a few months ago, and that spot just opened up last month, which they gave to me right away!

We hired a new lead QA to replace me (I got bumped up to Lead pretty quickly), I did their training, and my transition has now been completed! I am now a full time game programmer, 100% selft-taught, and had absolutely 0 coding knowledge beforehand. This is a dream come true! Imposter Syndrome is of course kicking in quite a bit, but I know things will go smoothly seeing as they know my exact skill level and still decided to give me the position anyway.

So here you go! Hope it motivates anyone, and don't hesitate to ask any question!


r/learnprogramming • • May 03 '20

To any of you confused by recursion, I found a really a good analogy

3.0k Upvotes

I was watching a video by Kevin Naughton Jr, and he gave the clearest analogy for recursion I have ever seen in my entire life.

Imagine you magically teleport into a movie theater and are placed in some arbitrary row. The seats in front of you are just high enough so that you cant see how many rows are in front of you.

How do you figure out what row you are in?

Tap the guy in front of you and ask him what row he is in and add 1 (1 row higher than the person in front). If he doesn't know, he will tap the person in front of him for his row. If the person in front of him doesn't know, he will ask the person in front of him... This will keep going on until you get to the person in the very first row of the theater and he will definitely know that he is in row 1, so he will tell the guy behind him that he is in row 1 and now the guy behind him knows he is in row 2. He tells the guy behind him that he is in row 2, so the guy behind knows that he is in row 3. As you keep going up the row starting from n, the guy above is in row n+1.

This is exactly how recursion works. You have a method that may not give an exact answer yet, so it will recursively call the method again (usually with the input size being a little smaller) until the input meets some condition in the base case where it will return its value, and the calls behind it will each bubble up with its respective value until you reach the initial method call.

I hope that helped guys :)


r/learnprogramming • • May 14 '21

Resource [MIT] The Missing Semester of Your CS Education - Proficiency with tools YouTube series covering cli, shell, git, profiling, debugging, vim, data wrangling, security & more

3.0k Upvotes

Classes teach you all about advanced CS topics, but they rarely teach you proficiency with programming tools. The video series will help you master the command-line, use a powerful text editor, use fancy features of version control systems, and much more! Class homepage

All video recordings of the lectures are available on YouTube.


r/learnprogramming • • Sep 30 '20

Techniques and tips to learn coding in a more efficient way. Some are backed by research in Neuroscience, Behavioral Psychology, and Years of experience.

3.0k Upvotes

Let's get to it.

If you’re not struggling, you’re not learning.

What’s your idea of learning to code?

Whip out your computer, type out a couple of cool commands. And bam - beauty personified.

Sorry, nope.

The process is at least 50% struggling especially at the beginning. And that’s how it should be. I’ve seen people quit programming because they don’t want to struggle with bugs. That’s like hating the gym because you don’t want workouts to hurt.

But the struggle is the way.

You don’t run from bugs;

You train yourself to find them quicker.

A proficient programmer is an efficient detective of bugs.

If you’re feeling frustrated that things are not smooth, remember that this is how learning actually works.

Neuroscience research confirms that practice doesn’t simply make you perfect; it is deliberate practice to improve in a specific task that makes you better. And deliberate practice involves struggling.

So your mantra should be:You code.

You debug.

You struggle.

You overcome.

And you repeat.

If you’ve not struggled at all, you’re simply playing around. If you struggle all the time, then the next section is for you.

You’re not dumb, you’re learning at the wrong level.

Let’s start with a little analogy.

Imagine learning the English language (the language of exceptions :)

You start with a tutorial motivating you to learn to spell big words like ELEPHANT.

But it’s not working. After beating yourself for so long you decide to go to a lower tutorial and learn to spell smaller words like ANT.

But you still struggle.

So you conclude that you’re dumb because you lowered your tutorial level and still didn’t grasp anything.

But when a new teacher investigates why you’re struggling, they find out that you’ve been struggling because you actually don’t know the English alphabets.

Let’s bring this home to our coding world.

Some people jump into beginner tutorials to learn a React framework (ELEPHANT). Then realize it makes no sense so they move on to learn JavaScript (ANT). But that still makes no sense to them, so they quit.

But they’re simply working with something that’s too advanced.

Even introduction courses can be advanced because your thinking is not wired yet to programming in general. There’s no shame in finding something lower than Intro courses and starting from there to build up to Intro courses.

I don’t see this recommended enough but if you’re struggling with intro courses, you should consider Intro to programming for kids.

Learn with tools like

- Scratch,

- Alice or

- Codewars.

Since you’re older, you’ll go through them faster. But they’ll give you the much needed soft intro that makes sense and builds your appetite.

Again, this has nothing to do with ego.

It’s your learning journey.

If you learn the alphabets first, you’ll gain the confidence needed to start spelling ANT, ELEPHANT, and later constructing long-winded sentences.

It doesn’t matter what discipline or area of coding you jump into, this holds for Intro to Python as much as it holds for Intro to Machine Learning.

You’ll learn more efficiently if you learn at the right level.

Elevate how you learn with spaced repetition.

This technique is from research in Neuroscience. And I’ll summarize it short and quick.

How it works:

- You learn.

- Recall in 48 hours.

- Then review in 72 hours.

Doing this:

- You’ll forget less.

- Connect new ideas to old; and

- Retain more in long term memory.

I put 48 and 72 hours but you can expand that timeline to days and weeks. The most important takeaway is not to simply learn once. But to intentionally set aside time for you to come back and review.

The longer the delay between reviews, the more it gets buried in long-term memory.

- Duolingo uses it.

- Quizlet adopted it.

- You can also apply it.

1 project > 10 hello worlds

Don’t get caught up in `hello worlds` forever.

I understand the thrill of completing simple exercises: print “I am awesome” // print “you’re cool”.

But I have to be honest with you, this won’t cut it.

Going back to our ANT analogy, no matter how many ways you rearrange the words ANT, you’ll never arrive at ELEPHANT.

No matter how many Intro tutorials you learn, you’ll never really get past the basics unless you push yourself beyond that.

But I don’t know what projects to start as a beginner. No worries. Here are two examples:

  • Random Password Generator: Creating a program that intakes some words from the user and then generates a random password using those words.

  • Currency converter: Create a program that converts currencies from one unit to another, for example, converting Indian rupee into dollars, pound to euros, etc.

  • If you find these boring, here are 40 other python project ideas to choose from: https://www.upgrad.com/blog/python-projects-ideas-topics-beginners/

  • And 17 javascript project ideas for beginners: https://mikkegoes.com/javascript-projects-for-beginners/. I love these because you can start tweaking them immediately, play around, then write them on your own.

  • And if all of them seem too difficult: DM me here or on Twitter. And I’ll create something that you can start with. Remember, this is not about ego; it’s about your learning level and growth.

Motivation is like taking a hot shower.

Taking a hot shower feels good – you should do it.

But if your hot water is out for 2 weeks, would you not shower?

The question sounds ridiculous but in the same way, you really shouldn’t base your learning on only days when you’re motivated.

There are lots of exciting days in coding; but there will also be dark, un-motivating days.

Honestly, this is not just with coding. It’s with life and embarking on any new adventure. But you have to train yourself to show up not only when you’re feeling hyper inspirational but also on low, boring days.

This doesn’t mean forget motivation.

Far from it - on days when you feel super motivated, use your motivation to quickly commit yourself to something big that will keep you accountable when the motivation goes dry.

How? Join an accountability movement like

  • 30daysofcode

  • #100DaysOfCode

  • #30DaysOfCodingChallenge

Something. Anything. To keep you accountable on slow days.

In Behavioral Psychology, this is known as pre-commitment. You use moments when you’re optimistic to commit yourself in the future for when you have zero optimism.

The journey of learning is never-ending.

No one teaches you how to learn. But it’s crucial in going far.

You may have started with the idea of simply learning to code or to one day become a developer. But there’s more.

When you come out on the other side, you’ll come out not just a coder but a renewed person because you’ve picked up a new way of approaching things.

Don’t get me wrong. This isn’t easy peasy lemon squeezy – you’ll work like hell.

But in the end, it’ll be worth it not just because of coding but because of the joy of transforming yourself.

Remember, the ball’s always in your court…

Thanks for reading.

Not going to lie, this took a lot of hours.

If you enjoyed it and you’re on Twitter, like and retweet this thread to help spread the word. I know it sounds trivial but it actually really helps reach other people who need help.

If you prefer a blog post format with images: here you go.

This post is part of a series. In each post, I provide answers to questions and DMs that came from my 1st post. For now, I'm putting together resources and write-ups based on what people need the most help with. If you’re interested and have more questions, let me know on Twitter. If you prefer sending a direct message, my DM is open.

Heads Up - I love research so I tend to back my advice and approach with concepts from Behavioral Psychology and Neuroscience.

Edit: typos fixed.

Edit 2: added project ideas for Javascript/web development based on request.