How to learn to code (quickly and easily!)

How to learn to code (quickly and easily!)

Hi and welcome back to another episode, my name is Patrick Shu and I am the tech lead our topic today is how to learn to code and There’s really only one skill that you need to have to learn to code And generally people either have this skill or not And that is really the ability to just set at a computer for many hours at a time Our engineers know that there’s something called the zone Where they basically just sit a computer uninterrupted for long periods of time and that’s how they are able to put together complex thoughts chained together many pieces of logic and basically put a program together and This is a habit that a lot of people don’t have like there. They sit down for 10 minutes at a time They don’t really have a desk. Maybe they’re like Watching TV as they’re using their laptop and they’re checking their phones all the time and then they gotta get up and pick a cupcake and then go walk the dog and then they gotta go drive out and do an errand go shopping come back and then they gotta go meet up with their friends and each time they have maybe 10 20 minutes at the computer and it’s just not enough time to really sit down and focus so If you can get into the habit of saying you’re just gonna block out say four hours and then evening grab a cup of tea and then really just sit down and focus on Staring at the computer for this amount of time then I think you’ll be able to develop that habit And that’s even better if you can block off like an entire afternoon and just give a whole day to it And that is how you’ll basically be able to learn and basically software engineering is just all about learning Over and over again. It’s it’s kind of an interesting career because it’s not like being a lawyer or doctor where Over time your experience just builds and builds and then when you’re like a 60 year old doctor or lawyer You’re just so experienced and you can try to choose amounts of money Now for software engineering when you become like a 60 year old guy. You’re probably outdated Now this isn’t really necessarily about ageism. It’s more about Many people just decide to stagnate and they stop learning if you can continue learning Keeping up with new technology as it changes over the many years, then you’re gonna be good generally So this is really about developing the ability to learn and that ability to learn needs to be done over long periods of time sitting in front of the computer and you know one tip I have is I will usually just get some really good music and I it’ll make me want to sit down at the computer so I can listen to that music and now just listen to it and Now I just focus on whatever it is. I’m doing I’d also say that a lot of normal people don’t have the ability to just sit down for many hours at a time and start a computer like I’m not even sure if it’s really something healthy to be doing Usually it’s the people at school who don’t have a lot of friends who don’t get invited to the cool parties And so then they just sit at home by themselves and they’ve got nothing better to do except to learn Basically get good at computer coding. So if you’re a kind of a popular person or You’ve got a lot of events and cool things going on in your life then you’re probably going to find it to be very difficult to just first yourself to just sit at home and ignore all those other events For me, I’m the type of person who really enjoys being at home and not doing a lot of things like given the choice I might just sit at home for like a whole month and I might go out once once a month, you know I just I don’t feel a need to be going out shopping and like going to the mall every day Like it’s just not that interesting to me. I Remember when I was in high school? I wasn’t the smartest kid Like I was pretty smart but there were these other kids who were much smarter than me and They would always be getting like a pluses are not the exams and then we all went to college and since it was kind of Trendy at the time to apply to computer science a lot of them did that and basically by the end of the first year all of them dropped out and I was like the only Person left from my high school who was actually studying computer science in the program that first class is called the wieder class because it’s intentionally made to be difficult and just filter out a lot of students and Basically, give them bad grades. So they’re forced to drop out. Meanwhile for me. I just really enjoyed that course. I got like a and I think the reason is that a lot of these people were probably Very good at normal stuffing like they could read a book. They could memorize it They could do their homework But they may not have had that culture of Sydney in front of a computer for long periods of time and That was something that at least for me I had I have been actually coding since elementary school and meanwhile I think a lot of these other kids they really had no clue what they were getting themselves into they thought it was going to be like Studying physics or chemistry or biology or something like that? But computer science is a whole different culture and it requires that computer culture now when you actually get into the computer science courses It may surprise you to hear that the professors don’t actually teach you any programming languages at all so language syntax, like how to code in Python C++ Java JavaScript PHP or Objective C all of that stuff They don’t really know what nobody teaches you that so if you were thinking that when you get to college Somebody’s actually going to sit down and teach it all these languages. That’s not the case. No one ever held any engineers hand like that Everybody who learned how to code generally had to do it by themselves and they’re all self-taught in that sense So don’t wait to be taught by somebody and that’s just how it is and you just gotta keep self teaching yourself So if you don’t have that self teaching culture that initiative then you need to be able to develop that Okay now hold on Let me just clarify that there are some courses that can teach you these Languages if you actually need a help but most four-year degree college programs will not be teaching you that these are things that you might learn and say high school courses or community college courses and I think a lot of people maybe think that Well, the people who actually gone to a computer science program and maybe like you didn’t for example Maybe you’re thinking that they were actually taught this stuff No one was taught this stuff what people are actually taught in. These courses is their supposed fundamentals which are like algorithms data structures how operating systems and compilers work databases But probably the only course that you need to know our like data structures and algorithms and you know You can keep in mind that each of these courses is just basically one textbook, so if you were to read two to three text books, you’ll basically be covered and that Will get you going and in reality a lot of computer science You don’t really need to know these crazy data structures and algorithms Like they’ll tell you how to implement a hash table, but in reality no one really implements a hash table They just use it and and basically if you were to do the algorithms course, I understand time space analysis Like how efficient these data structures are then you’re gonna be able to use them fine and there’s not that much holding you back then like so I think you can get very far even teaching yourself on your own although That’s not to say that a college degree is useless like a college degree is actually incredibly valuable. I think simply because It’s so difficult for students to stand out the competition is so tough that Having that college degree just elevates you one level up and just makes everything so much easier for you to let your first job compared to having nothing and Trying to prove to people that you may be qualified Even though there’s tons of other people who may have some degree who’s competing for that same job basically after that I think like You know, you have to ask yourself why you’re learning to code and there could be a variety of goals Maybe you want to build a project for yourself. Maybe you’re just curious But if your goal is to eventually get a job as a software engineer in some company then I would say that your goal is going to be to get something on your resume and The best way to do that is probably just to make some personal projects as you’re starting out it’s gonna be difficult to get anyone to hire you so think about some cool projects that you can make and Set make that your goal to make it and then just try to create it and as you’re doing it you can that new language learned some fundamentals and When you finish it You can put that project on your resume and then you make sure you can be able to explain about whatever impact that had you Know like if you can have a website or something to show it That would be pretty nice. And if you could get a few users, that would be even better As for what track to go into I might recommend web development as one way to quickly get going like you learn HTML Javascript may be either PHP or Python as a back-end language, and I’ll quickly get you Going and that’s really all you need to be able to start creating. What complete web Applications and you know these projects you can basically put on your resume and get you started another option I might recommend is mobile development which is pretty trendy nowadays and I would say that in the past iOS development has been seen as trendy, but in recent times Android development has actually been Skyrocketing like if you check the charts Android growth is growing really fast So I think that the demand for Android developers should be going up Anyway, I think that pretty much captures what I’m trying to say Which is that no one’s really there to hold your hand throughout all this it’s not like when you start a job you get a pair of programmer and together you’re Programming with a mentor and people are watching your screen and going through each step together I mean, there are a few jobs that actually do a lot of pair programming but most of the jobs that I’ve seen they just give you access to the code base and There’s usually a lot of crazy technology and languages in there that even experienced engineers may not really be Familiar with and they just need to start digging through and teaching themselves how to get through it all What really takes is you got really just be able to pour yourself like a cup of tea or a coffee and sit down for? A few hours and just really try to learn the code by yourself. There’s you know, even in an industry, there’s even less documentation than what you see Online usually like the code might be messy There may be really poor documentation And people just need to have that tinkerer mindset and just go in there and dig in and take a look You know, that’s the culture. That’s how it is. There’s no true Correct way to do any of this I would recommend that as a beginner You can probably even ignore the whole algorithm Fundamental track at first you might get into eventually but like if you were to pick up a book on how to do web development in PHP or Python or how to do Android or iOS Development and then just go through that book will probably get you set up and you really just need to be willing to put in the time and effort to do it and I think that many times I’ll basically just see people and just just looking at the way they act like How social you may be if people? Don’t seem like the type of person who would be able to sit down and just really study a computer like I can already tell that they don’t really have that culture of the programmer like You need to be able to Develop that culture and get into the zone sit down for many hours at a time And I think that’s the one skill that a lot of people probably need to hone more on if they want to get serious Into coding so they’ll do it for this episode Let me know what you think in the comments below and I will see you next time. Give it a like and subscribe Bye

100 thoughts to “How to learn to code (quickly and easily!)”

  1. Yet, I struggle to find a good fundamental course. It interests me the most, yet all I can find are online courses that teach stupid shit.

  2. I don’t like to Leave my house either. I have the ability to focus on projects for hours and days weeks at a time. I am not working on anything right now. Waiting for the next big idea to restart. Great video. Thank you!

  3. TechLead, I want to get into machine learning as a career. I'm going for a bachelors in science of software engineering and I have no experience in coding before. What do you recommend I do first?

  4. so what is the website i can learn to code… i have wanted to do this for a job and i finally want too make this happen.

  5. Want to be a coder? No problem, just code a 1K RTO using Z80 machine code and before you even finish that desire will have gone.

  6. techlead: if you aren't able to focus on something for long periods of time,then you need to develop that skill.
    me: well I'll have you know that I focus on my TV for a long period of time.

  7. I'm 12 and learning how to code. So far I've done some of the basics but soon I'll try to get into some more complex stuff. Of course now and then I need to look back at some stuff to see how the coding was done but for a 12 year old I think I'm doing kind of good so far. If you're passionate about your goal and you know what you're doing, coding can be kinda fun.

  8. The self-teaching thing is massive. I'm an interior design student so like completely a different field but it's the exact same, no one sits down and teaches us building regs or proper BIM practice or 3D modelling, they just provide an atmosphere where you can cultivate design thinking. Don't wait to be taught is such a good life motto

  9. I had to watch a few videos to understand why your wife left you. I now understand. She isn't a software engineer. She doesn't code… Ergo… Time… Commitment. That is all she wanted. Success… Is selectively defined

  10. Fuck. My attention span is horrible and i have to pass this hard programming exam…. i dont know if i can do this

  11. the ability to sit for hours on coding is really necessary if you want to be a software engineer, while most people don't have this ability

  12. Eh I want the ability to create stuff but I don't want my life to be stuck on the computer for hours & hours at a time =J

  13. When I sit at the computer I can sit for 2-3 hours and then I need a little breake and then I can sit at the computer again

  14. Ok, but how exactly do I self teach? It seems like there's so much to learn in any given programming language? How do people learn on their own?

  15. I like what you said about being a programmer and wish that as I was younger that I had taken the time to do some programming myself. When I came back to my state from California I had a job working in Corrections which was one of the jobs open at the time and I ended up staying there even though I had trained myself in computing while in the Air Force and went through college in the History, and Political Science field because I wanted to become an attorney. I studied on computers back in around 1980 and was good on the Apple Basic and OS. When I came back here in 1983 I purchased my first cheap computer and studied their basic and learned that there was many versions written by Microsoft and had to figure out which company would end up being the leader in the end and it turned out to be IBM, Microsoft, and Apple.

  16. I'm 24 and I started doing a program from udemy on web development( javascript, css, html). Am I too old to get into this industry ?

  17. Well Put, just sit their and build stuff. It takes time but your knowledge builds and builds. Mark J, Software Engineer.

  18. this is very useful information. People often think Computer Science teaches you how to program in XYZ languages. Glad that you clearly stated that is doesn't.

  19. I think the early morning is the best time to code. It's quiet and you have woken up so you have energy. Most people don't call or text you that early. It's best to listen to music that doesn't have lyrics too

  20. More than just sitting there staring at the computer. It just looks like programmers are staring. But really we are thinking about the logic, thinking about a problem, how to test the problem, how to make it faster, how to make it more modular, more efficient, more functional, etc. It's a lot like kids who can sit and play video games all day long. It feels like a video game because you are challenged to solve a problem or even just one aspect of a problem and when you think of a solution it's fun! It's not really frustrating when it doesn't work right away, it's more of a feeling of being confused because you thought you checked everything before you compiled your code, but now you have an error. So you wonder why you have an error, what could have caused it, what did I miss? and you start your investigation. It's like playing a role playing game rather than playing a shooting game though.

  21. I’m going to come back in a year or 2 and see how much I can learn . I should definitely be rich by that time .

  22. Hi, and welcome back to another episode my name is Patrick Shyu and I am The TechLead our topic today is how to learn to code………….

  23. i stay on my computer way to much, i used to spend alot of it play games but after years of that its gotten alil old but i still spend the same amount of time on my pc just on youtube mostly now an whatever else i can find to entertain myself. i want to be more productive with my time on my pc an coding is something ive always wanted to learn but i have no clue where to really start. any help with direction will be greatly appreciated.

  24. Hello there,

    I found your videos extremely useful and creative. I have a problem, and when I watch your videos, I realized that you can help me with this. I've take education about literature and language (Philology). I took courses on web programming such as PHP – MySQL, Javascript. However, I could not get rid of my fears and worries about programming. Can you tell me how to overcome my fears and worries?

  25. I like to think about problems and solve them, but I always produce non-efficient code with a lot of lines.
    I can't seem to find an efficient,short,simple solution.

  26. Hey Patrick, I am Excited to start my coding life. This video i believe answered my precise question. Basically wanted to know where i need to start. I have picked through many online coding sites and i believe freecodecamp and code academy are my two Choices. My question was where to start and i want to learn python but didnt know where to start. It seems based on what you said to start with HTML5 and then learn a language for the back end. Thank you for this video. Its very good and the dense compilation of advice is i believe what many beginners need to hear.

  27. So many parallels with the musician life,, I don’t even program computers , but learning method and lifestyle is just the same and relate to tech lead ! Sit and dig in independently — get into the zone

  28. So to do well in CS course, you have to have already taught yourself? You pay hella money to not get taught, but to teach yourself…. Seems about right. This is why I think college is dumb. Think about it. You have to show up to class, or get dropped, you have to participate, you have to follow all these rules, you have to teach yourself and not get spoonfed, and you get charged to do it this way so much it'll probably take you years to pay off your debt. In my mind you're paying for the education, attendance should be irrelevant, sure your performance will suffer but that's on you, you're paying for it. It's such a scam. Don't get it twisted, I'm all about learning… knowledge is power, people should always be learning….. but paying so much to basically "teach yourself" and have a facilitator is a waste of money…. If anyone tells you you're just dumb and you gotta "figure it out"…. jokes on them, because they're paying how much they're paying when if they already know this stuff they're dumb for paying someone for not teaching them anything. In my mind, if you've been doing all these things… you shouldn't be majoring in Computer Science, because you're wasting money. Spend that money learning a new skill, not to get a degree… you already know this information it makes zero sense to pay that much on something you already know. Sure you'll ace it, but who cares.

    That's my thing, if you take a program that expects prior experience on said thing… it's a crap regurgitating course that isn't worth the money. Just thought I had to make this comment so that the next generation might stop placing so much weight on college when there is so much free information nowadays. College is important, in the sense that knowledge is important… But not in the sense that you pay so much money on jackshit you could definitely learn for free if not, waaaaaaay cheaper.

  29. why 1.3 million people watched this video and helped this guy earn money when he is basically just chatting and thinking out loud

  30. I disagree this does help, however, I feel like you also need to get up from your desk and take a break from your code especially if you are working on a bug that has been bothering you for a while. If you sit down for an hour get up for 15-45 min and then come back that can be even more effective than bashing your head against the wall and not being productive if you are having a bug issue which I feel like is most of the time during programming.

  31. Ambient music is good for concentration. For example check Brian Eno, Steve Roach or SomaFM. I think there's plenty of ambient/downtempo music for sitting down on chair and just writing.

  32. Grades aren’t an indicator of intelligence. Listening to and parroting random facts and figures means you’re as smart as a literal parrot. Mathematics, and coding require logic beyond what can simply be repeated.

  33. Thank you . This video is really enlightening for me.
    Next step is to sit down for hours and start learning web development,Html and python.After that Android maybe.

  34. Online competitions like topcoder are what got a lot of people to Google and Facebook. You need to code quickly and cover all test cases

  35. watches this video as I sit at home the whole summer as my friends go out to parties LOL 3:00 you got me there buddy u got me!

  36. I think for a lot of people it is better to play with basic script change it around, copy and paste other basic script and put it together. Play around, don't worry about memorizing. I think a lot of people jump in with the idea that they need to memorize. Unless you have an amazing memory don't worry about that just cut paste, change the variables. See what it does.

  37. RE: Education – I know zero developers who went to school for computer science. They're all engineers and musicians, like me. The takeaway: Be a musician, and somehow you'll be good in the tech world.

  38. I don’t engage with coworkers, then I just keep coding till finish my work and go home. When at home, I don’t feel like hanging out, then I just do coding practice. Maybe I am on the right track.

  39. One skill I need to develop is saying "no" when I get invited to a drinking party. Sure, a drinking party is fun but when you go home drunk and has slept all day then realized you haven't been productive the past two days makes you regret going.

  40. I like your older videos better than the new. Not a single promo. Now you throw in 2 to 3 promo's in one video and that just makes me sad.

  41. Thank you Patrick for all of your advice and information. Your videos have been very useful and I appreciate you sharing your knowledge, Thank you and have a blessed life!

  42. when I first started college I was expecting to leave knowing how to do all this programming and being like some hacker and now this is my 3rd and final year and that still hasn't happened even though ive always got good grades at college and I'm just starting to realise I'm going to have to do it at home.

Leave a Reply

Your email address will not be published. Required fields are marked *