r/learnprogramming • • Nov 24 '20

Just (beta) released my first app and I finally feel like my hard work is paying off!

1.7k Upvotes

I've been self teaching from scratch this year. Bit by bit I went through Udemy courses, picked up some logic, concepts and eventually made a snake game using Python. That tiny bit of Python was also all I knew before I foolishly accepted a challenge to create an app ~3 months ago.

Flutter (dart) looked nice and seemed like a good way into understanding OOP. I took a course on that, and after spending 1 month slugging through the 300 vid marathon, I set out to program what had by then turned into a freelance contract for a cross platform app.

During my last two months I have learned so darn much:
- Become somewhat comfortable with OOP
- Learned about and then used two different state management tools
- Learned to connect my app with a server, user authenticate, database interaction and some basic understanding of .JSON files
- Read about SSH and signing apps in general
- Gotten so much more intimate with my debugger
- Understand how to stack, frame and in general get designs from my head onto the screen

And on and on and on..

I've been struggling a lot with imposter syndrome over the past few weeks, and felt worried that I was wasting most of 2020 thinking I wouldn't be able to get a useable skillset on my own..

But here I am today after 8 straight hours of debugging and scrambling to release, and it finally built perfectly. I just made good on a promise - the first testers already have my app installed on THEIR phones and it's WORKING and I'm so so so happy! I've been tracking back and forth in my Livingroom for at least 30 min until I realized I really wanted to share it with you guys. There is always so many motivational stories here and I thought I should chip in with my experience as well!
tldr; I worked hard, learned a lot, and released my first app - super relieved and happy


r/learnprogramming • • Jul 12 '18

Insane collection of 1000+ programming PDFs (books and articles)

1.7k Upvotes

I just found this collection of free PDFs while browsing Github. Have to admit - it's somehow discouraging to see a Github project with so much information that a lifetime of reading would not be sufficient to fully absorb it.

1000+ programming pdfs


r/learnprogramming • • Apr 06 '18

Awesome Python Cheat Sheet

1.6k Upvotes

Here is a great cheat sheet for Python by Laurent Pointal (whoever you are). Thanks a ton! :)

If you like this sheet, maybe you are interested in our own cheat sheet course consisting of 5 cheat sheets (keywords, basic and complex data structures, object orientation, and tricks).


r/learnprogramming • • Apr 20 '20

Python 2 is dead: long live Python 3

1.6k Upvotes

The last release of Python 2 has occured. There will be no more changes or bug fixes.

https://pythoninsider.blogspot.com/2020/04/python-2718-last-release-of-python-2.html

If you are learning Python, please use Python 3 - you'll make your own life easier. The differences are fairly small.

Next year will be Python's 30th birthday!


r/learnprogramming • • Aug 29 '20

Self learners how did you learn algorithms?

1.6k Upvotes

I was reading another post about how to learn algorithms, but most of the replies seem to have some university education. Curious to know how people who learned by themselves taught themselves algorithms. It’s the biggest weakness that’s holding me back.

Edit: So many replies! Thank you. I’ll make sure to read them all.


r/learnprogramming • • Jul 23 '20

Resource Websites with interactive problems are great for learning

1.6k Upvotes

I self study programming, and one of my favorite ways to learn are websites with interactive exercises. Here are some examples.

These types of websites have three great properties.

  • They dice the lessons and problems into very small, bite sized pieces.

  • They give you exercises. Exercises are like doing your math homework. They're essential.

  • The exercises are interactive and are easily done in the browser. No pen and paper needed. Quick, efficient, less boring.

Anyway, just wanted to share this tip with you guys. I'm not connected to the above websites in any way. I just think that websites with interactive problems are great, and I wish there were more of them.

If you know of other websites like these, please post them in the comments below. I'll probably end up doing them cover to cover :)

edit: Here's my notes on websites mentioned below.

edit: I ended up posting this on my blog.


r/learnprogramming • • Sep 27 '20

Top mistakes while learning web development (and how to prevent them)

1.6k Upvotes

Introduction

I've been working as a frontend web developer for the last 3 years. I'm self-taught and made a bunch of mistakes along the way. I wanted to share with you guys my thoughts on some of the most common mistakes people make while learning programming and how to avoid them. Let's get started!

Not Setting A Timeline

Not setting a timeline or having a roadmap. Without a schedule to follow, you are going to feel less committed, time will just pass by, and you won't really have that drive to hit certain milestones (such as finish a course, build a project or start applying for jobs). Similarly, not tracking your time (you can use a Chrome extension like Toggl). Without knowing how many hours per day/week you're spending learning, time will just pass by and you'll have nothing to hold yourself accountable.

However, if you do have a roadmap and are tracking your time, you'll be much better equipped at seeing where you are, where you should be, and how much longer before you hit that next milestone.

Trying Too Many Programming Languages Right At The Start

I'm not saying don't try different programming languages and experiment, I'm saying that once you have an idea of where you're going ("I want a job in frontend web development", lets say), you're still bouncing around trying PHP, Java and C#.

When you're looking to get a job, specializing is key. You want to stick to one programming language, based on the job you're wanting to get. Don't get distracted by other languages. They're great and you'll get to them in time, but your focus needs to be on the core stack of the position you're after. You don't want to be a Jack of all trades, but master of none. You need to get vertical proficiency, not horizontal - and you get that by practicing that one thing, every day.

Consistency

When learning anything, consistency is key. If you've ever tried to learn a new language, French or Spanish, you know how important it is to be immersed in it. If you're immersed, you become a sponge and absorb everything that is being thrown at you. If you aren't, you're going to have a much more difficult time. With learning programming, consistency is the first step to being immersed.

Again, this comes back to having a roadmap and sticking to the timeline that you have set for yourself.

Not Learning How You learn

Not learning how you best learn things. There are a bunch of different ways to learn coding, whether it is video tutorials, reading documentation, books or reading through other people's code.

Everyone learns differently, so take a little bit of time just to explore different ways of learning whatever programming language you're going for. Maybe you struggle with video tutorials because it isn't hands on enough for you, so perhaps documentation or a good book would be a better fit for you. Having the right learning tool for you will really help you in the long run.

Prioritizing Quality Over Quantity

Prioritizing quality over quantity, RIGHT when you're first starting to code. When you are first starting out, I believe you should be writing as much code as possible and just getting it to work. In time you'll learn how to make your code more elegant and optimize it, but if you are focusing on this right at the beginning, it can be very demotivating.

You need to be seeing progress, and to do that, you need to be getting your hands dirty. For example, if you're working on a to-do list app, just get it to work. Once you have it going, then write your functions better, then separate your coupled logic, then improve your CSS styling, etc etc. Once you have a strong foundational knowledge, THEN you should be trying to write clean, scalable code.

Tutorial Hell

Tutorial hell is when you have spent all of your time watching tutorials but you've never built anything past that. You understand the content while you're watching the tutorial, but when it comes time to applying it and building something your self, you draw a blank and don't know what's going on.

The best advice I can give for this is when you watch a tutorial, to immediately afterwards start building a similar project. For example, if you're watching a tutorial on building a weather app, immediately afterwards you should be building a project with a different UI(colors and structure) and finding a different weather API (data provider) - and then use the core parts of the tutorial, like integrating the API and displaying the information. Use those core parts, but make it your own. By making the project your own, you'll form a considerably better understanding of the topics and techniques involved, and you'll have a much easier time remembering it when the time comes for you to build something new.

Trying To Memorize Code Syntax

Trying to memorize code syntax. That is, the grammar of code. Should a semi-colon be after this bracket, should this line be indented, should I have brackets around this, should I use let or const, single or double quotes, etc.

It's funny to look back on now, but I used to handwrite out HTML on paper and memorize it, and that just turned into a complete mess, without really helping me (so don't do this). For a lot of the simpler things like semi-colons, indents and quotation marks, look into the free extension Prettier for whatever code editor you're using. It will fix all of these things for you, following best practices. Past that, it just comes down to practice. It will come to you.

Trying To Learn A Framework Before Understanding The Core Language

Learning a framework (Angular, React or Vue), before having a strong foundational knowledge of the core language (JavaScript). This can be applied to any framework and language (Python/Django, PHP/Laravel, Java/Spring, etc). I think this stems from when we read job postings, they all say we need knowledge in these frameworks, so we think "ok, I need to get there as quickly as possible", and in turn you're going to skip over a lot of the more advanced features of the language. One problem with this is that you won't always be able to tell what is JavaScript vs. what is React. Also, if you skip over JavaScript and only ever master a framework, then when that framework inevitably gets replaced by another framework (as is the industry), then you're stuck in limbo. You won't be able to easily adapt to the constantly changing industry.

The solution is simple: take all the time you need to be really comfortable with your core programming language and build a bunch of projects in it without any frameworks. You'll then fully understand what's going on in the framework, and you'll be able to adapt in the industry much better, absorbing new technologies at a much faster rate.

Giving Up

Sounds cliche, but you will inevitably hit roadblocks and when you do, you need to be able to power through them.

I'd suggest you set a timer for 30 minutes and try everything you can to understand the issue. Review your notes, check online resources like Stack Overflow, etc. If after that time, you still aren't able to understand the issue, take a break. Sometimes you'll need to allow yourself time to slowly digest it. There have been a ton of times where I've left work and not understand what I was looking at. My brain was completely fried and I was confused. However, the next day when I return to work, all of a sudden things are clicking (at least a bit more) and I'm able to visualize the problem a bit clearer.

Conclusion

I hope this helped you understand some of the traps that are out there (some of them you may be falling into right now), and also give you some tools to navigate around them. Let me know if I missed any common mistakes and I'll add them to my list.

If you did find this helpful and would like more web development topics broken down, I have a YouTube channel called Programming With Pax. It's mostly frontend related, along with succeeding as a self-taught developer. It would be great if you checked it out and gave me some feedback. Thanks a lot for your time, I hope you're having a great day and I'll see you in the next one!


r/learnprogramming • • Oct 09 '20

Fired for going to coding bootcamp?

1.6k Upvotes

Edit: This blew up. I'm going to be fine. I'm removing the original text so my CEO doesn't see it and freak out. He's not going to sue me and I want to keep it that way.

Thanks for all the advice and even the few offers of mentorship and unpaid work opportunities. This is an alt account so pm me if you want to talk or have other advice.

Second Edit: No one else has heard of this happening? I know one other person that this happened to years ago. His job gave him the ax when he updated his linkedin page to list the Bootcamp.


r/learnprogramming • • Aug 22 '15

Any interest for a Reddit bot tutorial?

1.6k Upvotes

Hey all,

I wanted to know if you'd have any interest in seeing a tutorial or history of someone building a Reddit bot from scratch. I think that the biggest step from beginner to intermediate programmer is really that you have to move away from focusing on language specifics and really dig into a project, but I don't really want to put in the effort on a project nobody else is going to care much for anyway.

So, I'm asking you all, the LP community. Would you like to see me undertake this? Are enough people going to benefit from this that it's worth my time? Let me know in the comments.

Thanks, and have a great day, fellow learner!


EDIT, 6 P.M. New York Time:

  1. /u/baxx has been linking to this tutorial which looks like a good place to start.

  2. /u/RubyPinch points out in this comment that the tutorial is starting to show its age.

  3. /u/got_mugged_in_space has a very good comment linking to /r/watchpeoplecode with a search to see people who have already done this.

This is generating quite a bit of interest, which is nice to see! :)

I think I'll do an initial part of this tutorial, and emphasize more the process of sifting through information, knowing when to stop reading & get coding, and forming a good mental model of what the code actually does. And then we'll see if anybody actually finds it useful.


EDIT: My first hour of researching for this project. Just so you can poke around and see what sorts of tools I'm using, and how I gather information.


r/learnprogramming • • Jul 05 '20

Created a video to introduce beginner programmers to what debugging looks like

1.6k Upvotes

One very big mistake that programming teachers on all platforms make is completely removing debugging from the curriculum of learning how to program.

This is wrong. Debugging is one of the most powerful tools any beginner can use to learn how to program. It can give you an intimate view of how your code is running and how it is that your computer deals with running your program in real time. Even now as a professional programmer I am surprised by how many junior programmers were never introduced to debugging. As such, I made this video to show everyone what the purpose of debugging is.

https://youtu.be/SWeZw5_LP2Y


r/learnprogramming • • Mar 03 '21

I feel like I'm on the minimum intelligence required for programming

1.6k Upvotes

I have the motivation and perservence but Jesus it's sometimes embarrassing how many mini obstacles I have to hurdle over and how much time it takes for me to understand the logic behind a function or each iteration of a loop.

I can be thankful that I could at least understand most programming concepts (at least so far), if given enough time. But that's going to be a detriment in a job setting, I really need to nail all these nuances that occur until I can be comfortable enough to write code as a career.

Any of you feel the same? like if you had just maybe 5 or 6 IQ higher it could exponentially help you drill through the logic of some programs? It's all I'm really asking for. I like a good challenge but it's no fun being stuck all the time. I need just that little boost of brain power


r/learnprogramming • • Dec 28 '19

Thought of sharing this treasure!! List of websites to learn coding!

1.6k Upvotes

Below are websites having numbers of courses and resources you can access free of cost mostly. Happy Learning!!

P.S- shared.

Edit:1 Thanks guys for adding more sites in comments. People might be having lot of suggestions. Pls include those sites in URL format rather than hyperlink.

Edit:2 Understood.. This is a lot to take in for beginners. Instead of biting cheese on all plates you find, just focus on one and eat full. That way you would know the progress.

1- www.edx.org

2- www.coursera.org

3- www.udacity.com

4- www.edraak.org

5- www.class.stanford.edu

6- www.venture-lab.org

7- www.education.10gen.com

8- www.openhpi.de

9- www.ocw.mit.edu

10- www.khanacademy.org

11- www.oli.cmu.edu

12- www.oyc.yale.edu

13- www.webcast.berkeley.edu

14- www.openclassroom.stanford.eduMainFolder/HomePage.php

15- www.pythonprinciples.com/

16- www.ck12.org

17- www.udemy.com

18- www.skillshare.com

19- www.codecademy.com

20- www.p2pu.org

21- www.theodinproject.com/home

22- www.myopencourses.com

23- www.myopencampus.in

24- www.nptel.iitm.ac.in

25- www.saylor.org

26- www.nalandau.com

27- www.academicearth.org

28- www.youtube.com/education

29- www.phodphad.com

30- www.learntobe.org

31- www.floqq.com

32- www.learnerstv.com

33- http://www.coursetalk.org

34- http://www.skillacademy.com

35- http://www.mruniversity.com

36- www.alison.com

37- www.w3schools.com


r/learnprogramming • • Dec 11 '20

What Do Software Engineers Actually Do?

1.6k Upvotes

Hey guys,

I am currently a freshman CS major and am having difficulty understanding how what I’m learning (things like data structures and algorithms) apply to what would be expected of me when I get a SWE internship or job.

I can’t imagine that the job is just doing leet code style problems. I’m scared that once I get a SWE position, I won’t be able to do anything because I don’t know how to apply these skills.

I think it would really help if you guys could provide some examples of what software engineers do on a day to day basis and how the conceptual things learned in college are used to build applications.


r/learnprogramming • • Jan 10 '18

I'm teaching people with basic C++ skills how to make games in Unreal Engine 4

1.6k Upvotes

You can find the series here: https://www.youtube.com/watch?v=K8iSi1oGaBI

Keep in mind you'll need some C++ knowledge, but aside from that I assume you don't know any game programming stuff.

Hope everyone gets some use from it! Let me know what you think :)


r/learnprogramming • • Jan 12 '23

Coding Dojo is a scam.

1.6k Upvotes

Someone was dumb enough to sponsor me and get me enrolled in RPA bootcamp from Coding Dojo, otherwise I would have sued those scumbags for every penny I would have paid them.

To give you an idea how shitty it is, we are in the sixth week now and we haven't worked on a damn single project.

The only bots we've worked on, are ones to loop through a list, and another to check if a number is greater than 100.

The lead instructor is an idijt named Younus Baig who claims to have 5 years of experience in RPA and is working now with IBM, he's an absolute tool who can't even create a hello bot even if his life depended on it.

Half of the time he spends reading the slides, reprhasing them to make you feel as if he's adding something of substance, but he's never worked in RPA so he can't explain shit.

What about the other half of the time you say? Well, you see.. we spend it watching videos.

He plays some useless youtube video while nodding his goofy head as if he's agreeing with what is been said in the video, but if you ask him about anything mentioned in the video he starts looking as someone who's been holding his shit for three days straight and is about to unleash an earth shattering bomb.

Almost all the content in the slides as well as Learn Platform have been copied and pasted from other platforms (namely Automation Anywhere and UiPath), you're better off learning RPA from there.

I regret accpeting this scholarship/sponsorship because I've wasted so much time that I could have spent learning other stuff on my own from other free or cheap resources.


r/learnprogramming • • Feb 13 '19

This is probably an obvious answer but I can't find it anywhere. WHERE do I code?

1.6k Upvotes

A novice can open up Photoshop and start playing around. Someone new to piano can sit down at a piano. What is that equivalent for coding? I see all of these beginner tutorials talk about languages and set me up with a nice little terminal to code and see progress. Where is the terminal in real life? How do I literally start a project? I'm seriously asking. Is there a website I create my project in? Is that what Cloud9 is? Let's say I know HTML5 and want to create a project with it. What is that next step to MAKING it? It's like everyone is so helpful figuring out what bike to choose and how to ride the bike, but for the life of me I can't find anything to teach me where to find a street to ride on.

Edit #1- Wow! I woke up to so many great responses! Everyone is really friendly, encouraging, and helpful. I'm going to spend the day answering everyone's comments. Thank you!!


r/learnprogramming • • Jan 10 '20

I'm a software engineer with 8+ years working in SF. I'd like to host a series of AMAs for people trying to learn programming. Anyone interested?

1.6k Upvotes

TLDR

Id like to host a series of AMAs for anyone learning programming. I'm a software engineer with 8+ years working in SF and would love to be able to help new programmers in whatever ways they would find useful.

When I was first starting off my career about 9-10 years ago, I found it really daunting. One of the things I would have loved at the time was to be able to talk to someone who had a lot of experience working as a dev in SF (Im from LA and was planning to move to SF). I didn't have that then and so now that I'm in the opposite position, I'd like to try and be that resource for some of you (if you would find it useful).

So, I'd like to host a couple of AMAs to talk everything and anything programming. And it honestly can be more than just programming. We can talk careers, how to land a job, programming interviews, work life balance, working remotely, etc.

I'd like the AMAs to be over google hangouts or zoom vs. a traditional reddit style AMA. This way, it can be a bit more personable and we can have more of an in-person discussion.

A little background about me
- full stack engineer (mostly backend these days, but was a lead front end engineer for a while and i know enough devops stuff to be dangerous, mostly to myself)
- been a part of 2 startups that were successfully acquired
- former engineering manager
- have interviewed 100+ (guesstimating here) engineering candidates

I'm still working through how to run and operate the AMAs but if you'd like to participate, please sign up via the link below. I'll be communicating and coordinating all the AMAs via email.

Link: https://programming-ama.ck.page/9f3d8b4776


r/learnprogramming • • Jun 13 '21

Question Is it normal to be regularly checking back on previous projects to remember how to do things?

1.6k Upvotes

I've started trying to learn how to code, and while I'm doing pretty well understanding the concepts, I find myself regularly checking back on previous projects to see how to do things.

For example, I recently made a checkerboard using Python, html, and CSS where the url input could change the size of the board and colors of spaces. And several times I felt stumped on syntax and have to go back and look at previous ways I implemented similar code and rework it to fit.

Is this pretty normal among developers or should I really focus on memorizing code?


r/learnprogramming • • Apr 02 '20

Web Development Masterclass on Udemy is free until tomorrow.

1.6k Upvotes

r/learnprogramming • • Apr 17 '22

Debugging Oh my god. Debugging is so much easier if you learn to not use console.log

1.6k Upvotes

Apologies for the very noob realization here. Obviously like most learning programmers, if something’s not working correctly, I’d put console.log statements all over the place. First to make sure the program was actually reaching every function I wanted it to, and then to print out the values of certain variables to see how they change over the course of the program.

But then the other day I discovered that if you open up the source code in the console and click on a specific line, the program will set a breakpoint there and it’ll just… stop there. And then you can see the values of all variables in the function at that point. I set it within a loop and I could clearly see how each variable was changing at every step. Made animation so much easier— I could pause the animation at every single frame to clearly catch mistakes I couldn’t otherwise.

I know this is probably common knowledge for more experienced coders but… holy crap!! It took me 2 minutes to debug something I would’ve spent 30 minutes debugging before, because I was able to see variables I wouldn’t even think were the source of the bug… what was I thinking just console.logging like a mad person?


r/learnprogramming • • Aug 20 '17

Resource Udemy coupon: 100% off Welcome to Bootstrap 4 Rapid web development framework HTML CSS JS

1.6k Upvotes

I was looking up courses on Bootstrap 4 and randomly came across a coupon that gives us 100% off this bootstrap 4 course and thought someone would find this helpful.

Yes, it is a valid coupon as I just used it myself.

Course: https://www.udemy.com/bootstrap-4-website/learn/v4/overview

Coupon: FBAUG16

EDIT I have found some more 100% off coupons which are listed below

The Complete Ethical Hacking Course: Beginner to Advanced!

JavaScript for Beginners Welcome to learning JavaScript

The Complete PHP MySQL Professional Course with 5 Projects

Beginner Full Stack Web Development: HTML, CSS, React & Node

Learn to Build SQL Query| Ultimate SQL and DataBase Concepts

Become an iOS/Android Game Developer with Unity 2017

Complete HTML CSS Guide : Design and Code Responsive Website

EDIT Here I have found a site that has a ton on 100% off coupons => http://udemycoupon.discountsglobal.com/coupon-category/free-2/


r/learnprogramming • • Oct 22 '21

Landed my first real job after teaching myself to code! Almost finished with my first week!

1.6k Upvotes

I just wanted to give a big thank you to the /r/learnprogramming community for all the inspiration over the years. I have been a long-time lurker here and I can't believe I finally landed a real gig after all these hours of tutorials and research. It's very surreal to have an actual office where I get paid to code all day.

And I really have to thank Brad Traversy for his youtube channel and Udemy courses. Total game-changers. I know some people don't like the code-along style, but they worked for me.

I have been grinding away in earnest for about a year and a half and it finally paid off. Keep plugging away y'all, you'll make it.


r/learnprogramming • • Jan 01 '19

I recommend watchandcode.com to anyone who wants to learn the basics of programming!

1.6k Upvotes

watch and code is a free series of short video tutorials on javascript. It is aimed at complete beginners with no prior coding experience. What makes it really stand out is the fact that during the course you learn everything by building a todo-app. This is very good as it perfectly shows you how to apply the code to build something.

Despite the fact, that the course is taught in Javascript, it is still a very good intro to pretty much every programming language, as it shows the basics (like loops, variable, functions etc.). It also teaches you how to properly structure your code.

If you want to start your programming adventure, but you are completely unsure from which resources to learn, definitely check out https://watchandcode.com/


r/learnprogramming • • Jan 23 '19

MIT's Introduction to Programming Using Python course is back

1.6k Upvotes

One of the most popular courses in edX's history - with over 1 million people enrolled - is back. Learn computer science and programming using Python from the instructors at MIT. The course is free to try:

https://www.edx.org/course/introduction-to-computer-science-and-programming-using-python-0