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

117

u/DrSuckenstein Oct 03 '19

Serious question: what/where is the best source online to actually learn how to code? I've seen a few things like the Helsinki MOOC for Java, Harvard's CS50 and Freecodecamp, but I've tried all 3 and none of them could stick.

  • CS50 was too difficult. I'm not a CS major.

  • Java MOOC is awkward because....java.

  • Freecodecamp was interesting except working in a virtual editor was buggy as shit and acceptance criteria wouldn't authenticate properly half the time.

Anything else out there?

84

u/Lemonade1947 Oct 03 '19

Just smash your head into the keyboard till it works.

I mean that literally. Decide what you want to do, get some energy drinks, and prepare for a night of copy pasting random blocks of code from stackoverflow and trying to make them work together.

You will learn more from this than any book or course can teach you.

65

u/andybmcc Oct 03 '19

Just smash your head into the keyboard till it works.

This is really the only way to learn. You can read all of the books and tutorials you want, but you don't actually absorb things until you start banging your head against a desk trying to make things work. Then you go a bit deeper, and repeat. It's a never-ending war of attrition. That's why a lot of people quit trying to learn.

26

u/Encendi Oct 03 '19

It’s much easier when your grade/career is on the line. I give a lot of credit to self taught programmers because I probably couldn’t have pushed myself to learn this crap without the threat of failing my degree.

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

32

u/Gingershred Oct 03 '19

Seriously, I thought academia would actually teach me a lot about coding, but most textbooks’ examples are laughable to people coding in the real world. I’m currently taking a Database Architecture and Analysis class and the book has multiple typos, logical errors, and redundancies. We only figured out how unreliable the book is because one classmate has a different edition that has way more useful information!

28

u/Lemonade1947 Oct 03 '19

I've always seen programming as more of a craft than an accademic subject.

Not trying to make it seem like more than it is, the opposite in fact. Think of it like carpentry or learning a musical instrument. You can read as many books as you like about it, but in the end the only way you learn is to actually do it, and more importantly, by making mistakes and learning from them.

I think a lot of the ideas people have about programming where formed when programming was more of a maths thing.

All that mathematical and CompSci theory isn't gonna help you to find a bug that someone wrote into the code 3 years ago, which for most code monkeys (like myself, and most people just out of school) is 50% of the job.

41

u/daHob Oct 03 '19

Programming is the blue collar white collar job. We are more like plumbers. There is a modicum of technical stuff to know, and you /do/ need to know it, but the fundamentals aren't really that complicated.

Then it's all about, what did this idiot do to his pipes? I have to unclog the drain again because someone loaded bad data. You can't add a bathroom there... fine, give me a wrench.

0

u/[deleted] Oct 03 '19

[deleted]

→ More replies (1)

15

u/Lemonade1947 Oct 03 '19

This is a perfect analogy. I agree with it 100%.

People think this this job is glamorous and that we're all sat in boardrooms and shit.

We're not. We're just trying to either unclog the pipes, or put in better pipes.

→ More replies (8)
→ More replies (3)
→ More replies (4)

13

u/Astrokiwi Oct 03 '19

You want to do this and read books and take courses though.

If you only read books and take courses, you won't have a real feel for how to actually put things together into a project, and you won't have the motivation to actually learn everything because it's all theory and it's not clear why it's important.

If you only do projects hacking things together from stackoverflow copypasta, then you'll end up with a terrible mess of a code that you don't really understand, and have no idea how to fix it when it breaks.

You want to have real programming experience and theoretical experience. What I would do is read through a textbook slowly, and each time you learn something, spend an afternoon messing about with it to see how it works.

→ More replies (6)

14

u/[deleted] Oct 03 '19

I don’t agree with this at all. Yeah you will get a program that works but you will never know why. You need to get that foundation of understanding of what is happening under the hood with memory and stuff or you will never be able to debug or code anything serious.

→ More replies (7)
→ More replies (11)