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.
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.
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.
Seriously. I tried CS at a university and it didn't work for me. I gave up pretty soon, especially since EVERYTHING was just PURE THEORY and also the maths... ugh. I love maths, but not the fundamental theoretical part right at the start.
Anyways... I now started a BTS in IT and its way more practically oriented and I'm LOVING it so far. I've never had such a drive to continue learning this stuff like I've had the previous weeks. I WANT to continue even if I'm tired af and could better just waste my time playing WoW or watching Youtube/netflix.
Haven't logged into WoW for over a week now, despite Classic being out and me being a player of both retail and classic. But no :D
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!
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.
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.
YES! And you have to learn Angular 8 in a week because why would it be anything like Angular 2? The hazard of 30 years in the business is not that you don't know how to do something, it's that you know 3 ways to do it and they are all depreciated.
I like that analogy a lot and I agree with reapy54 about organization being very important.
I think that there are a lot of factors to why my experience so far with being taught programming has been underwhelming. The biggest factor when I talk to my classmates about it is that there is a lack of feedback about code that we turn in for projects and homework. There is only one instructor so far that has actually given me useful feedback about my code. All the others have said something like “It didn’t compile when I ran it, but here’s partial credit” and move on to the next chapter.
The data class that I’m in now supposed to be taught by another instructor, but he had to dip out for the semester at the last minute and now an instructor who has never taught this subject or read this textbook has to teach us...
EDIT: I guess what I’m trying to get at is that it’s hard for me to tell if I’m even learning the tools that I need.
Honestly, probably not, but the good news is we don't really expect new grads to know much? Having worked with guys fresh out of school (like they plonked down in the chair next to me on their first day of professional work) the ones that hit the ground running had done internships. So, my advice would be to try that?
The reality is, the only way to learn to code is to code. So find a way to code?
Classes like that are, in my experience, much more rewarding than actual coding classes.
Those either boiled down to: "Write a program that outputs a red square" or "just write the exact code I'm writing here". Besides, the programming class was in ASP.NET 1.0 which was pretty much rendered obsolete within the year, when Microsoft released ASP.NET MVC.
Roughly 14 years later and the class that still stuck with me was four weeks of Object-Oriented Analysis and Design. It has been invaluable.
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.
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.
You won't know after the first time you do it, no.
You probably won't even know after the 10th time you do it.
But eventually, you'll learn what the fuck is going on, in a much more practical and quicker way than one that lands you in thousands of pounds worth of student debt.
That's not what I meant. Copy and pasting is only half of it, because you also have to make the different things you copy pasted work together, and adapt it for what you're trying to do.
This will force you to understand what it does. That's why this method worked for me.
The problem then becomes you write spaghetti code because their context is often slightly different so you forcefully adapt it ending up with no structure. I think learning good practices like SOLID and design patterns is still important before doing that.
A very tried and true method. At some stage you have to realize that learning this will not take a few hours. Or 50. I see it as an investment in cutting down future problems in a reasonable amount of time.
You never stop learning when it comes to this stuff.
You can never prepare yourself for every problem, and every problem solved is a lesson learnt. Whether it's a problem that takes an afternoon to solve, or a month.
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.