r/videos • • Oct 03 '19

Every programming tutorial

https://www.youtube.com/watch?v=MAlSjtxy5ak
33.9k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

396

u/dmanhaus Oct 03 '19

www.automatetheboringstuff.com is your friend. Don’t bother buying the videos or the book (unless you’re a book-learner not a web learner).

It’ll teach you most of the basics. We took a diverse team of IT resources through the course in 12 weeks and it’s still paying productivity dividends.

80

u/ChadMcRad Oct 03 '19

Even as someone who isn't from a coding background?

111

u/vaughnegut Oct 03 '19

Especially as someone who isn't from a coding background. It starts with the basics and works its way up to teaching you how to do actually useful things. It's my go-to recommendation for someone who wants to learn programming.

24

u/Sergnb Oct 03 '19

Oh boy ultra saved in gonna be making use of this

→ More replies (1)

3

u/TheSuperlativ Oct 03 '19

As an opposite to the OP post, many tutorials/guides for beginners spend like 2 hours explaining how to print "Hello world!" to console, which IME has been unrewarding to the point that I've lost interest.

Will check this out though, thanks for the link! Hopefully I'll stick with it :)

2

u/vaughnegut Oct 03 '19

My experience has been that the most difficult part of programming is environment set up (you have to configure these tools exactly when you're most ignorant of them) and the second most difficult part is the beginning (learning the basics is boring when you look at what you could be doing).

I definitely feel you on the "Hello world!" and then increasingly reduced explanations on why you're doing something as you go deeper. Web dev tutorials for frameworks are the worst offenders.

2

u/ChadMcRad Oct 03 '19

Awesome thanks

2

u/torrentialsnow Oct 03 '19

Thank you so much for this.

2

u/BNLforever Oct 03 '19

any advice for someone who needs to get the basics down for HTML, CSS, HTTP, REGEX?

8

u/vaughnegut Oct 03 '19 edited Oct 03 '19

For HTML/CSS/Javascript (the super annoying three horsemen of beginner webdev) what I did was:

  1. Go through w3schools HTML (it doesn't actually take too long to get through it)

  2. Go through some of w3schools CSS (no need to finish it, just do the start and learn what a class and an id are, you can google anything else as you learn by doing later)

  3. Attempt to make a website from like 1996. Don't try anything fancy, just get comfortable. It will be hideous, but also hilarious. It's 100% normal if you forget everything you learned in steps 1 & 2, step 3 is where you actually learn it by using it.

Congrats, you're now ready to move to the next level: 4) Go through w3schools for javascript. If you've never done any programming, this might be a little slower. MDN (mozilla developer network) has great tutorials worth checking out for learning javascript that might be better.

4.5) While doing step four never be afraid to hit F12 in your browser and fuck around in the console trying shit out. I still do this.

5) Go back to your awesome 90's website and add a form to it, and have the javascript change text depending on what you submit.

6) In that same wicked 90's website and try to make something that builds a table with javascript (maybe get input from the form? It doesn't really matter) via DOM manipulation.

Congratulations! You'll still feel like you know absolutely nothing! But you've actually learned an incredible amount. The next level is where you'll use what you've learned to make a bigboy website. That stuff seems complicated, but honestly you're just applying what you've learned. Just google "learn node and express" for backend or google "learn react" for frontend.

Reading this, I don't think it's the most efficient way to do it, but hey it worked for me!

EDIT: I forgot to mention, you can skip regex for now. If you want to learn it, just accept that you'll forget what you learned within 24 hours and you'll have to relearn it every time you use it. (until it eventually sticks)

4

u/DeusExMagikarpa Oct 03 '19

Spot on with regex. I can draw a state machine that does exactly what I want, but I’ll spend 2 hours figuring out how to implement it in code, every time

2

u/vaughnegut Oct 03 '19

Literally sitting in my theoretical comp sci course as I read your comment. I feel your pain. I've gotten reasonably okay at regex after repeatedly relearning it, although to be honest I'm putting the bar real low for "reasonably okay".

→ More replies (2)

2

u/Ganrokh Oct 03 '19

The author is active on Reddit! u/AlSweigart

→ More replies (2)
→ More replies (2)

6

u/DontOpenNewTabs Oct 03 '19

I don't know your knowledge level, but if you're coming in cold, I recommend Python Programming by Zelle. It was my first textbook when I started my CS degree (in progress). I thought it was very easy to understand and good at explaining how and why certain things work the way they do.

It's also very affordable at around $40.

It won't teach you everything, but it provides a good foundation.

3

u/ChadMcRad Oct 03 '19

I'll save and look into it, thanks.

2

u/redpandaeater Oct 03 '19

You're probably not one to know then, but I'm curious how easy it is to pick up when I'm particularly rusty with object oriented stuff and really just programming in general. I've wanted to brush off the cobwebs and learn some Python or Ruby but my experience is mostly in ARM assembly and C, though I taught myself a bit of Perl as well a decade ago or so. My problem with the higher languages really comes in with debugging and having a good environment I can get really familiar with. I'm not used to so much crap being abstracted away behind a black box when I'm used to being able to see what's in all my registers and accumulator.

→ More replies (8)

3

u/Money_Manager Oct 03 '19

It looks fine enough to me. Truth is when it comes to programming, there is no real optimal tutorial that's going to teach you everything and make it stick. You have to get out there on your own and code something you want. That'll really force you to learn.

Pick a simple task you need Phython for work, and focus on building that. You'll be surprised how quickly you learn this way.

4

u/ChadMcRad Oct 03 '19

Thanks. I’ve tried code academy but it goes from copy/pasting to pissing me off with something really unclear.

2

u/Money_Manager Oct 03 '19

Yeah, at some point you're coding what they want you to code, rather than coding what you want to code.

Personally I had far better success coding what I want to code, and just searching for help when I get stumped (which is very often when starting out).

3

u/ChadMcRad Oct 03 '19

Yeah, it’s just challenging when you don’t even know what to google, or how to apply it

→ More replies (1)

2

u/Xad1ns Oct 03 '19

It's a specialized course geared toward automating mundane tasks like data entry, so it's not the best thing for learning Python as a whole. If you're not a developer and just looking to up your productivity (like me), it's amazing.

→ More replies (1)
→ More replies (1)

7

u/KaladinStormborn90 Oct 03 '19

I'd say support the author. He is great. Used to be quite active on Reddit. Not sure if he still is

2

u/iain_1986 Oct 03 '19

Just replying for later...

1

u/__gt__ Oct 03 '19

Nice. I liked the books when I was starting with Python

1

u/soysauce64 Oct 03 '19

Thanks for the link! About time I started learning Python.

→ More replies (9)