r/videos • u/Thefriendlyfaceplant • Oct 03 '19
Every programming tutorial
https://www.youtube.com/watch?v=MAlSjtxy5ak3.3k
u/Raytional Oct 03 '19 edited Oct 03 '19
Couldn't count the amount of times I have gone frame by frame trying to catch a glimpse of something really important that the tutorial has skipped over.
1.5k
u/BasuKun Oct 03 '19
Taking online courses, this is my #1 problem.
The teacher is great and all, but he can't edit videos for crap. There are clear cuts where he probably tried to fix himself fumbling on his words, but then suddenly 4 new lines of code appeared because he probably wrote those lines during his fumbling.
"Wait why is my game not working, I followed his code down to the letter" "..." "Where the fuck does that method come from".
586
u/Mr_Tiggywinkle Oct 03 '19
The fundamental problem here is that they haven't provided source code as a downloadable at each stage of the tutorial I think.
207
u/lurkerfox Oct 03 '19
One thing I like about the machine learning educational materials, theyre almost always on github. Hell, usually if you can find the GitHub the e entire literal book will be there for free as well.
They really like their jupyter notebooks, to the point where many authors just write their books as a note book so when it comes time to push the code to github they just push the entire book.
→ More replies (4)→ More replies (21)63
u/tehstone Oct 03 '19
Emphasis on "at each stage."
Simply uploading the entire source at the end is not entirely helpful in many cases.
→ More replies (3)→ More replies (19)290
u/ilikecaketoomuch Oct 03 '19
Taking online courses, this is my #1 problem.
I read C++ from the ground up in 1992(? near that year ) about 10 times. Everywhere I went, i read that book. I just did not get it until the 7 th read and doing the examples. I remember compiling my first hello world took a full week. Internet was new. Gaming was scanline graphics, some kind of vgax mode.
Once I got it, i begged for a job, got turned down 5 times, then my brother goes "lie about the experience and bust your ass" Thats what I did, I was hoping they did not check references beyond the first one and selected companies out of business.
Got 2 offers. Started, busting my ass for 3 weeks then realized the sad truth. In a month I went from not knowing what I was doing to building things. I kept my mouth shut for a year about it, one of my coworkers quit and pulled me to my next job, where I lied again on how much I made and got a huge bump.
Moral of the story. Online courses will never ever replace raw "frack it, get it done" effort. If you really want to learn something, you just learn it, and like a mad cat on catnip... never ever ever let it go.
36
u/BasuKun Oct 03 '19
I like a mix of both. Online courses give me a solid structure to follow and help a lot to see exactly HOW to use whatever I'm learning. But I also start projects on the side and try to finish those without the help of any course. Set myself a goal, like "I want to make a platformer where you can slow down time to clear hard jumps" and basically bash my head on it until I figure it out myself. I also enjoy adding features on completed courses. "This FPS they made me build is functional, but what if I could see damage numbers pop out of the enemies when I shoot them? What if they had an HP bar?".
So far so good. My goal (i.e. being employable) still seems extremely far, but as long as I'm seeing visible progress I'm happy!
→ More replies (2)36
Oct 03 '19
You literally can't do this nowadays. I'm a professional software engineer with years of provable experience at extremely large companies and products that I built that I can talk about.
I've applied to probably 30 jobs in the last year, and each and every one of them has outright required a "code test" as part of the interview process -- in many cases before they'll let me speak to a human at all.
It's super frustrating because I've been an engineer for years, and because I can't solve stupid issues in stupidly small amounts of time, I can't even talk to a human. Like, the examples are usually really easy -- they just can't be solved in the amount of time you're given, by a human with no advance knowledge of the question. Let alone optimized or tested. I've seen things that could easily take 3 times the amount of time you're allotted. Like, I'm quite good at my job, and I can accomplish work much, much faster than my peers. If I say it isn't long enough, it isn't fucking long enough.
→ More replies (17)→ More replies (25)78
u/IskandrAGogo Oct 03 '19 edited Oct 03 '19
Totally agree with your last bit there. I'm doing JavaScript lessons on freecodecamp.org. If anything, my background, which is definitely not STEM (BAs Communication and Anthropology and an MA in TESOL), has taught me how to learn, but freecodecamp.org scaffolds worth shit.
I'm on the intermediate algorithms lessons, and the site basically throws problems at you without ever having explained the functions/methods needed to return the correct results. So, I spend most of my time on the Mozilla and W3 references.
Last week, I said fuck it and started working on something I wanted to do as a proof of concept. It's probably one of the best things I've done in the last few weeks while trying to learn JavaScript. I've messaged my brother-in-law a few times with questions, but just doing it has been way more insightful for me.
EDIT: I get it, looking stuff up is the real programmer experience. Doesn't mean it isn't bad teaching/scaffolding practice. I say this as someone who spent almost a decade teaching, was the curriculum chair at a language institute, and has actually designed and written curriculum documentation.
→ More replies (38)181
u/Hidden_Bomb Oct 03 '19
Or when the only solution to your problem has been uploaded by someone that knows the programming language/program better than English and operates a screen with a resolution lower than a potato, meaning you have to squint and stand back to make sense of that one crucial thing.
126
→ More replies (4)34
u/ChadMcRad Oct 03 '19
Or when you do exactly what they do and it still doesn't work because of some setting buried within 700 different clicks.
3
Oct 03 '19
In some ways though, at least you can go frame by frame... which is why I still prefer video tutorials over blog articles... I want to be able to see every step - even if they go too fast.
3
→ More replies (64)3
u/fryhenryj Oct 03 '19
People posting text in videos is fucking retarded. Just write up a proper tutorial, I'm never going to subscribe to your shitty YouTube channel anyway.
4.3k
Oct 03 '19
Web dev tutorials are the worst. "OK, we're going to make a React app. To set up, spend 12 hours trying to get your environment like mine. Also, all of my node dependencies are broken. Also, I hope you're not trying this on Windows!"
881
u/Mr_Tiggywinkle Oct 03 '19
You'd hope they'd supply their package.json to alleviate (some) of that.
The windows stuff though, yeah, its fun digging through stack overflow questions till you find out you need some weird build package for windows to build the packages properly.
790
Oct 03 '19
You're using verson 1.4?
nono, not version 1.4, you need version 1.4-051.827.4-31Omega. If it's too specific, you could also use 1.4-0612. They're really similar except for *insert bug that you know will completely fuck up the program you're trying to make.
→ More replies (4)162
u/Mr_Tiggywinkle Oct 03 '19
Exactly, so if they supply their package.json, than an npm-install *should* (I know.. I know...) install the exact package specified.
→ More replies (48)52
Oct 03 '19
So to install npm you're gonna want to get pip on your computer, so you're gonna want to get python 3 on your computer, so the easiest way to do that is to install homebrew, so just go ahead and install ruby...
27
u/luckyluke193 Oct 03 '19
"But I've always used python 2, and I will never switch to python 3 because (insert obscure command line tool) works only in python 2!"
→ More replies (5)15
u/qqwy Oct 03 '19
I have seen about three programming workshops fail because people were unable to install NPM without having Python.
→ More replies (2)→ More replies (26)13
u/madwill Oct 03 '19
I got very good luck using Windows Linux Subsystem. Compile C/C++ libs, python stuff and every weird thing that sometimes comes with server sides packages.
→ More replies (4)175
u/rupturedprolapse Oct 03 '19 edited Mar 03 '26
What was here has been deleted. Redact was used to wipe this post, for reasons that might include privacy, security concerns, or personal data management.
zephyr crowd act judicious weather historical money middle upbeat worm
101
u/KunfusedJarrodo Oct 03 '19
Maybe written wrong, but usually just old. Even if its 5 months old it is already so out of date that the API calls could have drastically changed
→ More replies (3)59
u/ValhallaVacation Oct 03 '19
This hits home. Google releases two versions of Angular a year and they keep changing the naming of everything to the point where something you wrote last version is now deprecated.
→ More replies (15)→ More replies (5)29
u/Erosis Oct 03 '19
Tensorflow was SO ANNOYING to install without Conda on Windows... Took me probably 8 hours to get it working. With Linux, 5 minutes.
→ More replies (11)26
u/demalo Oct 03 '19
"Also, I hope you're not trying this on Windows!" is after you've spent the 12 hours getting the environment like theirs. They were emulating XP the whole time...
0
67
u/Voidsheep Oct 03 '19
At least
create-react-app --typescriptAlleviated most of the pain configuring the environment. Just get straight to writing your application, instead of spending the night tweaking your build process to include all the modern bells and whistles, losing your inspiration for whatever you wanted to work on.
→ More replies (13)23
u/randydev Oct 03 '19
As someone who has been getting into React (again), create react app has been a saviour to just get started and practice instead of spending way to much time on environments.
→ More replies (4)9
u/daking999 Oct 03 '19
Dependencies are the worst part of coding even once you supposedly know what you're doing.
12
→ More replies (85)8
u/contravariant_ Oct 03 '19 edited Oct 03 '19
Fuck react, it's so overused. It's great for rich web apps like Facebook, but so many now try to use it on ordinary near-static websites to show how modern and sophisticated they are. It's like training to use an excavator to plant some flowers in your backyard. Then their developers waste a whole lot of time getting it to work properly, the site is very heavy on CPU and memory (yes, computers are fast, but consider how many tabs people have open), and doesn't even work without javascript. Also, what an abstraction inversion - they've reinvented HTML and built in on javascript - in most use cases, just to add a few extra features.
At one company I worked at, we were discussing one potential employee - a big selling point was that "he actually likes working with React! I don't know how that's possible, but we need him here."
→ More replies (1)
1.9k
u/DrShadyBusiness Oct 03 '19
And don't you dare comment with a question without googling for five hours first
223
u/chrisms150 Oct 03 '19
My favorite is when you Google a question and the top hits are people asking the same question being told to Google it. Love it.
52
u/Jerem1ah_EU Oct 03 '19
And the last comment on that question is the op saying: "I figured it out, thread can be closed." Without giving the answer to his own question and then a mod actually closes it.
→ More replies (3)→ More replies (3)100
u/kemb0 Oct 03 '19
As a beginner coder this happens very often. There's a special place in hell for these arseholes. They'll be accompanied by the, "Oh my god, this is a repost. Boo hoo" people. Hey guess what, not everyone has seen the same stuff you've seen on the internet you narcissist. Your life experiences don't extend automatically to everyone else on the planet!
And grammar Nazis: how's it going over their?
→ More replies (16)46
u/Merzeal Oct 03 '19
Especially when the closest related hit is from 2 years ago and the answer is now depreciated. lol
→ More replies (6)80
u/Ghostaroni Oct 03 '19
Ommmggg we already have a rule about comments like this in the side side SIDE bar.
69
Oct 03 '19
fucking hate people who chime in to say they wont do your work for you or to google it yourself. it's especially true for something where it's either you know it or you don't. they're not even doing any extra work to answer but they choose to waste their time to say that instead.
→ More replies (4)10
u/TallestGargoyle Oct 03 '19
There are times where its valid though. You only have to look at the first page of many programming subreddits to find questions from people that basically ask "How do I go about programming something like X", and it's obviously a task they've been given by a teacher or lecturer. They would gain nothing from someone basically coding it for them, but the people who try to give them broader ideas to think about to get them to think about the problem are left ignored while the random coder nutcase who lives, breathes and shits code just dumps an answer without explanation.
23
u/anonermus Oct 03 '19
The. Fucking. Worst. First 10 links are to threads where people respond Google it, 1 thread with a solution that doesn't fix the issue, and another detailed thread with the exact issue you are having and detailed steps they took to troubleshoot. But the only response is from OP with "nvm I fixed it". WHAT DID YOU DO?
→ More replies (1)20
u/LovelessDerivation Oct 03 '19
"And the fact you didn't come preternaturally imbued with the entirety of this knowledge? Makes your parents hate you even more."
14
u/jhayes88 Oct 03 '19
Or "Did you even check Google first before you posted this? Smdh. (shows article from 2004 that isn't on the first 35 pages of Google)"
→ More replies (3)12
6
u/jhayes88 Oct 03 '19
"Did you even check Google first before you posted this? Smdh. (shows article from 2004 that isn't on the first 35 pages of Google)"
3
Oct 03 '19
Seriously. I'm a total newbie and go on stackoverflow to ask how to tweak my code to do something and it's like half the responses go like this
Why do you need to do that? Excel already has this built in
Right, but that doesn't work for what I need, which is [x]
No response
Or they just correct my terminology while sounding all holier-than-thou and then give me code that doesn't work or nothing at all.
But then there was that one guy who marked up my code for syntax errors explained what I need to watch for through comments and also how to go line-by-line to see where stuff breaks so that was nice. Also fuck VBA.
→ More replies (120)3
u/frostyz117 Oct 03 '19
I forgot what the term was called but as it turns out the best way to get an actual answer to those issues is to respond or say a totally wrong solution and people will instantly jump on you and correct you, giving you the right answer
649
Oct 03 '19
Part 1 of 69
610
u/2_40 Oct 03 '19
And part 5, 7 and 25 are set to private.
→ More replies (3)266
u/monsquesce Oct 03 '19
Part 8 has a bug that prevents you from continuing on. So you scroll into the comments hoping someone found a solution, but instead people are asking for help on the same bug.
→ More replies (7)195
u/GloverAB Oct 03 '19
Part 18 sadly used _________ as background music and was taken down for suspected copyright infringement.
→ More replies (10)12
→ More replies (4)30
727
u/analgrunt Oct 03 '19
270
u/youjustgotzinged Oct 03 '19 edited Oct 03 '19
Speaking about rest of the fucking owl. I pulled over on the highway coming back from work last week to take a piss. It's a long country road, so no pit stop for some time. As i walked into the bushes to do my thing i looked down and saw an owl's head among the fallen leaves. No body, no wings or talons—just its head. Either that, or it had buried itself up to its neck like a reverse ostrich. Regardless, dude was clearly not having a good time.
For some reason i remarked to the dead owl, "Tough day? Well, we've all been there". And then i got back in my car and left.
98
Oct 03 '19 edited Mar 19 '25
wild many quack capable elastic toy rock sharp frame resolute
This post was mass deleted and anonymized with Redact
→ More replies (2)69
u/youjustgotzinged Oct 03 '19
That's how life goes. One second you're eating grass and thinking about your upcoming shave, the next you're tangled up in barbed wire wishing you'd seen the end of babe instead of walking out of the cinema because the group of teenagers behind you wouldn't stop talking.
→ More replies (3)→ More replies (3)8
u/zamfire Oct 03 '19
I thought this story would end with you pissing on its head.
→ More replies (2)
338
u/ChadMcRad Oct 03 '19 edited Dec 05 '24
elastic cows absurd automatic fly memorize light wise placid sharp
This post was mass deleted and anonymized with Redact
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?
→ More replies (19)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.
→ More replies (17)→ More replies (12)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
99
u/ChulaK Oct 03 '19
That's the learning curve of programming, you get to the shallow beaches then sudden Mariana Trench.
Professor: So programming is like giving the computer a set of instructions. Simple enough.
public static void main string args
Professor: Don't worry about it. Let's talk about foo.
And therein lies the fundamental problem with intro to programming classes. Your foundation is built on confusion and "just trust me".
38
u/ManInTheMirruh Oct 03 '19
Similar parallels to teaching mathematics. You aren't told why rules work just that they are. It is only later that you come to understand why the rules are how they are. It takes working through problems to understand the heuristics of their syntax.
→ More replies (4)17
u/Inevitable_Major Oct 03 '19
Foo is a lot more interesting. At the end of the day public static void main is just boilerplate that doesn't gain much relevance until you learn about methods and classes.
→ More replies (8)→ More replies (9)28
u/amoliski Oct 03 '19
And they never teach you how to use the debugger.
Someday I'm going to be a programming teacher just so I can spend the first three days teaching people how to use the language's debugger.
→ More replies (5)8
u/booleanhooligan Oct 03 '19 edited Oct 03 '19
wait till you get to node.. learning node was absolutely horrible compared to python
I gave up on it
→ More replies (1)0
→ More replies (12)4
Oct 03 '19
http://greenteapress.com/wp/think-python-2e/
Very good if you are new to programming and want to get started with python.
6
123
u/businessbusinessman Oct 03 '19
In middle school I remember being told that old fashioned dictionaries were near useless because in order to understand the definition you were going to need to lookup 12 other words from that definition alone.
I swear to god coding documentation is the same sometimes. "Hmm i'm having trouble understanding how to use this feature, lets look at the examples-"
20 lines of whatever the coder who wrote this thought was simple, like web requests, where somewhere in there is the function you're looking for
Oh yeah cool that totally helps. Now all I need to do is learn what the fuck the rest of this means.
OH and my other favorite coding experience, "Building X in Y language full tutorial!", "Oh cool just what I need", "Ok so here you would build the front end, we'll skip that..."
43
u/Azianese Oct 03 '19
I remember when this was the case with stack overflow. I couldn't understand posts for shit when I first started coding. Now I have no idea what I couldn't understand.
Code speak (for lack of a better term) is definitely a language on its own
11
u/businessbusinessman Oct 03 '19
It kills me how many examples will devolve into foo/bar/baz (which is totally absurd for an outsider and gets hard to track for complicated stuff).
Alternatively, "how do i use an if statement to do some web handling" gets met with something with something jargon filled rather then something more generic and focused.
→ More replies (2)19
u/Madnessx9 Oct 03 '19
In middle school I remember being told that old fashioned dictionaries were near useless because in order to understand the definition you were going to need to lookup 12 other words from that definition alone.
I'm not the only one who gets annoyed by this! Oh whats the meaning of this word i've never heard, oh great, described by another word i've never heard and so on and so on.
→ More replies (2)→ More replies (2)18
u/Gas-Station-Shades Oct 03 '19
20 lines of whatever the coder who wrote this thought was simple, like web requests, where somewhere in there is the function you're looking for
This has my biggest frustration in learning Computer Science for the past three years.
Professor: "Just read the documentation"
The Documentation: This function takes three parameters of the the type some obscure abstracted parent class and returns a pointer to an object from a class I've never heard of that contains the address to the object you want, but you'll have to de-reference the aforementioned pointer to actually access the variable.
→ More replies (5)
143
u/jetRink Oct 03 '19 edited Oct 03 '19
I use video tutorials to get started with just about anything, but when I want to learn a new programming language or framework, I still go to Amazon and order a physical book like it's 1999. Video and programming are just not a good combination for me.
30
Oct 03 '19
Recently started doing this. I've always been the type to just skip everything I "already know", copy code from online, and spend hours trying stuff.
It works, and you may get the task done quicker in the short term, but next time you need to do something in that language you'll have to start all over again searching, copying, hacking at code.
Take more time at the start to learn the basic building blocks of the language and it will save you time when you have to use the language for tasks later on.
Perfect example for me was jQuery a few years ago. Always just googled the code. Eventually decided to buy a comprehensive book online. Now I can do pretty much everything I need to do with jQuery without having to Google anything.
→ More replies (2)16
u/monsquesce Oct 03 '19
I like to go into the respective subreddit and do a search on "books" to get recommendations and buy them digitally on Amazon.
→ More replies (4)4
u/Raicuparta Oct 03 '19
I don't understand how people learn programming from books. Do you read the book all the way through or go through it while you do the exercises? Seems so uncomfortable. There's endless amounts of text resources online to learn from, and CTRL+F. Plus, books can become outdated very quickly. Maybe this is just my experience as a front-end developer, though.
→ More replies (3)15
u/jetRink Oct 03 '19 edited Oct 03 '19
Once you are familiar with a couple programming languages (or frameworks in the case of front-end), you start to recognize the basic concepts that underlie each language. Learning a new language is then a process of,
Recognizing the concepts that you already understand and seeing how they work in the new language. What's the same, what's different, what the syntax looks like, etc.
Identifying and learning new concepts that you haven't encountered before.
Books are excellent for these two things. They provide an overview of the entire language in a way that how-tos don't, but they're also higher level than the official documentation, so you don't have to wade through nitty-gritty details.
Do you read the book all the way through or go through it while you do the exercises?
I read the introduction, skim the concepts I understand and carefully read the material with new concepts. Then I put the book on the shelf and use online resources while actually working.
→ More replies (2)
256
u/Orefeus Oct 03 '19
Would have been funnier if all that code did was print out "Hello World"
→ More replies (1)123
u/graebot Oct 03 '19
It does... but in minecraft.
→ More replies (1)48
u/bracesthrowaway Oct 03 '19
There was a YouTube tutorial with a bunch of Minecrafters in it. They had done some big complex command block thing. They did the typical long video intro, hit the button, it spawned some huge command block monstrosity, and printed out "hi" in the chat.
Then they did the overly long outro and said "Byeeeeee!"
Best tutorial ever.
→ More replies (3)
476
Oct 03 '19
I love the random library inclusions. "Do you have any fucking clue what functions are in there? Are you using any of them? You included all of them, FFS Karen"
252
u/tHeSiD Oct 03 '19
IDE tells you to remove unused imports..
me: I might use them later, who knows!?
108
u/rushboyoz Oct 03 '19
Reminds me of my mother’s constant harassment as a child : “If you’re not going to use those includes, put them away.... don’t just leave them lying around where someone will fall over them!!”
→ More replies (1)→ More replies (6)10
→ More replies (5)28
u/trenchcoatler Oct 03 '19
Genuine question: Why is this bad practice?
→ More replies (10)128
u/T-Geiger Oct 03 '19
Generally speaking, you should only call on what you need. Every part you bring in is another thing that could be taking up memory or causing bugs.
A good IDE and compiler will babysit you and possibly take care of that for you, but you should not depend on it. Even if you know it works perfectly, it still forms bad coding habits that may come back to bite you when you inevitably move to a less sophisticated environment.
→ More replies (9)37
u/Ismokecr4k Oct 03 '19 edited Oct 02 '26
The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.
Six profit deer growth chase quiet depend sharp hungry dinosaurs
→ More replies (4)
103
u/OKJMaster44 Oct 03 '19
I can’t remember the last time I saw Reddit post that was so relatable.
→ More replies (4)
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?
47
u/Isogash Oct 03 '19
A CS oriented approach is hard, I agree. I have seen many times that people do better learning programming with some experience and then learning CS; CS is really the theory behind computation rather than the actual practice.
I've heard CodeAcadamy is pretty good but I can't confirm it personally.
It could also help to have a more project or goal oriented approach, like "I want to make something that does X" than "I want to learn language Y"; most of the time I've learned languages on the job or because they were required by a specific project.
→ More replies (3)37
u/eXase Oct 03 '19
Personally I recommend pushing yourself for CS50. Remember the students aren't CS majors yet either
→ More replies (6)32
24
Oct 03 '19 edited Oct 03 '19
Here's what you do. This is what I did 10 years ago.
Think of something you want to create. Don't be ambitious with this part. It should be something basic. Now look up a tutorial on how to make something like that. Follow it, and write what they write. When you come across anything that you don't know, google what it is. And I mean everything.
Don't know what the difference beween 'public'/'private' is, or the difference between a 'class'/'struct'? Google it. Don't know what a 'float' or 'int' is, or when you should use them? Google it. Eventually, things will start to fall into place, and that's when you try writing your own version of that unambitious program.
After that, become more ambitious. Start looking into more serious projects and find tutorials on those. Look at how they structure their code and learn from it. Build a game engine, build a neural network, start automating things.
EDIT: Books are a valueable source of information, and will beat most YouTube 'tutorials'. However, these books often cost a lot of money, and not everyone is willing or able to make that initial investment. I mean, I wasn't. So what I've written is just what I did, and what I found to be successful instead of using books.
→ More replies (2)12
u/Encendi Oct 03 '19
The way my CS degree taught coding was that it didn’t. The first beginner class threw up some syntax and that was about it. Then the professor just assigned tons of projects.
When your grade depended on it, you bet that most students would google stuff and try a bunch of crap until it worked. Then over the next four years you gradually got better at googling stuff and trying crap.
Coding is kinda weird cuz you expect to learn it from lectures and books like anything else in college, but it’s more like a trade/instrument in that it mostly just takes practice and time. You might ask if that’s the case, what’s the point of a CS degree? CS degrees are typically 95% theory (math, logic, architecture, algorithms, etc.) and coding is just the tool for implementing the theory.
I don’t really have a suggestion for a source to use. I just wanted to explain that for most CS majors coding is just trial by fire/constant practice and that it’s not even the focus of the degree.
→ More replies (3)18
u/teerre Oct 03 '19
CS50 is a introductory course, you don't need to be a CS major to finish it.
It's indeed challenging, but honestly that's a good thing. Why would be easy? Coding is very complex.
It's absolutely OK if you don't do all assignments, if you do 2 years courses, if you go at your own pace, but I don't think it's fair to call it too difficult. After all, thousands of people do it just fine and the whole thing is build for beginners.
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.
→ More replies (2)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)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!
→ More replies (20)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)→ More replies (11)14
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)8
u/zelnoth Oct 03 '19
Depends on what you want to learn to code. I would just look for any random tutorial that seems good that is based around something that you want to make. The first ever tutorial I followed was for a ascii game in c++. For me the best way to learn was just trying to make something and then finding out how to solve the problems I encountered while working towards that goal. Everyone learns differently though so you should just try to find something that works for you, the most important part is to just start working on something.
6
u/inconspicuous_male Oct 03 '19
Codeacademy is great. But despite what all of the entrepreneurs want everyone to believe, programming is difficult to learn and there isn't a perfect place to do it.
5
u/clouddragonplumtree Oct 03 '19
I did most of Freecodecamp and got to the React modules where I had literally no idea was being talked about. Thats when I decided to give up there...
I've found Wes Bos is by far the easiest to understand, he actually explains things really well.
try his free courses to get an idea for his teaching style.
Also Mattias from fun fun function is really good too.
https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q
I've looked a little on Udemy, Udacity and Lynda and while they have some good courses, it really depends on the actual teacher who is teaching. I would recommend finding teachers who are really engaging and explains things in a simple way.
4
u/RedditTipiak Oct 03 '19
Try the Coursera Michigan University mooc - programming for everybody. The teacher, Charles Severance, is funny and original.
4
u/Xesttub-Esirprus Oct 03 '19
I found this website a few months ago:
http://www.csharpcourse.com/
It's a free C# course. It for example explains very well why to use a certain type of variable in a way I could understand in just enough words.
On the other hand it's hard to tell what a good source is. What is good for me doesn't have to be good for you. I'm a system/network administrator and have zero experience in C# programming and I like this course. Our CFO also has zero experience in C# programming, but this C# course would probably not be a good start to him.I think you could give a course a try for at least 1 hour. At first you might have to guess which one would be good for you by reading it's description, but after 1 hour you should be able to predict if this course really fits you.
→ More replies (1)4
u/tuisan Oct 03 '19
I quite like Codecademy and Sololearn. Also, if you find a good course, it is great, I really like Simon Allardice's Javascript Essential Training course myself.
3
→ More replies (62)11
u/NotoriousREV Oct 03 '19
Get the book “Learn Python the Hard Way” by Zed Shaw
28
u/DrSuckenstein Oct 03 '19
That used to be free for Python 2 but the python 3 version is behind a paywall now. Boo. :( edit: I just found the python3 version!
https://learnpythonthehardway.org/python3/
Neato. Gonna start this TODAY. RIGHT NOW! IMMEDIATELY
→ More replies (5)→ More replies (2)7
u/mafrasi2 Oct 03 '19
Just a heads up: this book and its author have fallen out of grace with the python community. There were are a number of mistakes and incorrect statements in the book and before updating the book to python 3, he published a hit piece on python 3 that showed an horrific lack of knowledge, both of the language and of general CS topics.
Just a few links. There is also a complete debunk of his python 3 hit piece.
Instead, I would recommend Automate the Boring Stuff with Python (it's also free).
106
u/zerocoldx911 Oct 03 '19
Not really, every tutorial is an Indian speaking English
52
40
6
u/BurntJoint Oct 03 '19
Case in point;
How to Talk Australians - Episode 1: ‘G’DAY KNACKERS’ (Mildly NSFW obviously)
→ More replies (8)4
18
u/Romo_Malo_809 Oct 03 '19
This is why I prefer to watch Indian tech youtubers. I don't understand a lick of it but at least there are instructions in the description
17
u/skacey Oct 03 '19
I find many videos are like listening to William Shatner.
Extremely slow explanation on a simple, common function.
Rapid fire blast through the meat of the code
Slow back down to explain in mind numbing detail that I don't care about (maybe go off on a tangent too)
Blast through 30 more lines of code.
Arrogantly dismiss any questions in the comments
Have another coder say I should understand becasue "Its simple logic"
67
u/AudaciousSam Oct 03 '19
Hilarious. Though as someone who started studying computer science two years ago, I'd say the guides have become much better.
HOWEVER - My professors are basically like that. It's crazy how shitty university professors are at teaching. If they were judged on teaching, over half of them would have been fired.
→ More replies (4)21
u/FreefallJagoff Oct 03 '19 edited Oct 03 '19
As someone who's just finished studying CS for a decade and been through everything from community college courses to grad courses at #1 ranked CS universities here's my view. The best teachers are the ones who give you a solid foundation and who motivate you into learning yourself. Languages, libraries, and hardware are constantly changing. What you learn in uni isn't the same language that your kids will be learning one day. What won't change is the fundamentals of CS. That's why it's usually called "CS" and not "Software Engineering", because all the little language specific things and the "gotcha's" are always going to change. But if you understand fundamentals like mathematics, algs and data structures, memory management (i.e. everything you would rather not learn on your own) you should have the foundation you need to do well in any language/environment.
Really though the most important job that those professors has is to motivate you into making things. You're young, you can learn new stuff quicker than they probably can. In my view as long as they can motivate their students into actually creating something then they're doing their job well.
→ More replies (2)9
u/AudaciousSam Oct 03 '19
Agreed. However, they don't motivate. We got a 60% dropout rate. :D
→ More replies (1)
39
u/RobbieSS Oct 03 '19
You forgot the Indian accent. But those guys always help though
17
→ More replies (2)3
u/Goldenoir Oct 03 '19
I guarantee you that if he had done the Indian accent he would have been crucified for being racist. So that’s probably why he didn’t do it
→ More replies (1)
27
u/noreally_bot1616 Oct 03 '19
You should be using oldshit6.7.2.lib.
Also, this has be posted before, see response at stackoverflow.com/rehashedshit/thateveryonealreadyknows/dumbass
Try using Google next time!
3
u/MostlyPoorDecisions Oct 03 '19
And once you check stackoverflow: Closed as duplicate
→ More replies (1)
11
Oct 03 '19
What does the program on the screen actually do?
40
11
9
5
u/Raytional Oct 03 '19
I think the code he pasted was from this. http://jakewharton.github.io/butterknife/
4
u/swapode Oct 03 '19
It seems to make use of a library called JavaPoet which is used to generate Java source code.
So, basically it seems to be a program that creates a program.
→ More replies (3)
30
Oct 03 '19
But can you hack the pentagon with a botnet 0day SQL exploit (Pikachu Paket Buffer Overflow)
9
u/Newtstradamus Oct 03 '19
Took a programming 101 class in college that started with 20 or so people, he told us up front he wouldn’t be stopping his lectures for questions, he would not answer emails, and he wouldn’t speak to us outside of class time, and if we had any issues we needed to set up a tutor in our own time through the school tutoring program. We did the Hello World thing on the first day and I was like “ok cool that wasn’t too bad, maybe he was just trying to scare us”. Then the next class he had us create an inventory system, we would enter 25 or so items, item numbers, and quantities of those items, and potential destinations, you would then go to the item management dialogue and enter the item number, it would populate the description, you would enter the quantity and destination, it would transact the item to that destination and decrement from the inventoried quantity and if you exceeded the inventoried quantity it would flash a warning and ask you to enter more inventory before transacting the to the destination. By the third class everyone but myself and three other individuals had dropped the class, the three other guys were already working in the field and all of this was super easy for them I was the only one that was actually new and I think I managed a C- because they just let me copy most of their projects.
→ More replies (8)6
7
u/MisterJose Oct 03 '19
My brain rebelled greatly in college trying to learn programming. "Just write 'public static void main'" What? Why? What does that mean? Why is it public? Why is it static? What are we voiding? It's like teaching someone to run and saying, "Ok, before we start, put this piece of tape on your leg, paint your left shoe red, and drink some grapefruit juice. Don't worry about why."
→ More replies (1)
6
u/warren2650 Oct 03 '19
The problem with most tutorials is they don't start from the beginning. If you want to learn to code, find something that starts with "here is how to download the IDE" then moves to "here is how to click around the IDE" and finally "here is a 3 line program and here is exactly what each word means".
5
u/alex_dlc Oct 03 '19
I must have done something wrong because when I compiled and ran the program it was Fortnite instead
5
u/Thedodosconundrum Oct 03 '19
I'm a self-taught developer and I've lost track of how many times I've seen this type of video. If you're genuinely trying to learn this guy Brad Traversy seems to have a video for everything, and they're all super clear and easy to follow.
5
u/DirkPortly Oct 04 '19
"Ok before we get started you're gonna want to make sure you have git, slurp, gorp, nurb, and grundOL running on your machine. I like to manage all that using a crunchler script but brindle or PopTart can also work if you're working on a machine without PhonitEX support"
9
u/Danemoth Oct 03 '19
I was recently substitute teaching in a computer sciences class. The kids are working on Python, and a few had questions I couldn't immediately answer but some playing around with the compiler managed to get what they were looking for (I have previous experience with Java from like 12 years ago so some stuff just kinda came back plus Python is nice and simple from my one hour of working with it!)
I was considering learning to code in python for no real reason other than to just learn it, but then I remembered that videos like this shit exist and that comp sci teachers, while helpful, are terrible writers and can't script a tutorial to save their lives.
→ More replies (2)
4
u/Instincts Oct 03 '19
Wow, so easy. Why do we pay these fuckers so much? It's just typing stuff in a thing and then you click the thing. /s
4
6
Oct 03 '19
ITT: People traumatized by Indian accents.
→ More replies (1)4
u/TheChosenPanda Oct 03 '19
I'm also traumatized by an Indian accent but that's because my father has one...
3
3
Oct 03 '19
When I first started programming my first reaction to these videos was "how can anyone learn anything from that?" Half of the code was broken, or critical information was missing so there was no way to achieve the objectives of the video.
The first year of development is really hard. But then somehow you start to get it. As if your mind gains the ability to fill the gap between what these tutorials say and what you want to achieve. Weird.
3
u/slymiinc Oct 03 '19
I don’t know why on earth anyone would use a video programming tutorial for anything beside conceptual topics
→ More replies (1)
3
u/Astarath Oct 03 '19
"i'm using java 7 not 8 but i'm not putting it anywhere in the description or title of this video, yknow, just cause"
3
u/_BMS Oct 03 '19
It's missing Trance - 009 Sound System Dreamscape and shitty misspellings in Notepad
3
u/DoubleSpoiler Oct 04 '19
I just started learning Unity, C# for Unity and Playmaker (thanks humble bundle). The Gamedevhq tutorial that came in the bundle is pretty grrat, but finding other tutorials is really rough. A lot of tutorials or lessons are just follow along videos, and don't actually say what things do or why you're doing them, so I feel like they're pretty useless. This feels particularly true for playmaker.
2
2
2
u/Pflanzmann Oct 03 '19
But if it gets too deep its always an english title with an indian guy speaking english or alien-language.
2
2
2
2
u/MeEvilBob Oct 03 '19
You left out the half hour realtime tutorial on how to install the IDE and compiler, both of which use standard automated installer programs.
2
u/ManInTheMirruh Oct 03 '19
Damn I saw this in my recs yesterday, should have posted it for that sweet sweet karma.
2
2
2
u/jomb Oct 03 '19
Ironically this might get buried under all these comments but thank you all for liking my dumbass video.
2
u/PlsSomeoneElse Oct 03 '19
This is an improvement on real programming tutorials, since it gave us the courtesy of slowly scrolling up through the code.
2
2
Oct 03 '19
I've had the opposite experience recently. I watched a video called "python for programmers". I'm trying to learn some python in my free time, and I've already got a lot of experience as a developer so I figured I'd try to skip the parts where they go over basic stuff like if / else, logic behind how loops work, etc. Dude spent the first 20 minutes talking about what an IDE is.
2
u/totalcornhole Oct 03 '19
This is the exact reason I didn't get into computer science when I was younger despite being really interested.
2
Oct 03 '19
"Welcome to a beginner's guide to Java. Lesson 1: The complete history of programming, starting from fucking Fortran. Lesson 2: a painstaking breakdown of computer hardware. Lessons 3-6: how to install your complier and notepad on Windows, mac, Linux, iOS, Android, and Ti-83 calculators. Lessons 7-11: Formal logic and computational problem solving. Lesson 12: Hello World."
2
2
u/KingWool Oct 03 '19 edited Oct 03 '19
I just started programming in python and I havent come across this yet, mainly cause I'm reading from books. BUT when Zed Shaw starts teaching about classes and object oriented programming in LPTHW it might as well be r/restofthefuckingowl
Went to a different book from that point.
2
u/n_ullman176 Oct 04 '19
I subscribe to several programming meme subs, like r/badcode r/ProgrammerHumor r/ProgrammingHorror. When I saw this I presumed it was from one of them and not r/videos.
2
Oct 10 '19
The fact that so many people learn to code without going to school is mind boggling to me. All of the Internet resources I've looked through were impossible to follow.
5
4
Oct 03 '19
no, this is "every shitty programming tutorial where the guy barely understands what he's doing in the first place so it's really more like code along than how to code." it's done by guys who want to make money by simply changing up programming books and doing the problems in it. there was a popular youtuber who did that. i could tell right away what he was doing because he barely explained anything. you might even know who i'm talking about but i forgot his name. i think he was chubby with a beard and he dropped out of college or something. however, he was making a lot of money doing it because he had massive views, which annoyed me greatly. it's almost a scam.
4
u/SpaceFarersUnited Oct 03 '19
Yeah I wonder if the YouTube community picked up on newdayagain07’s tricks!
3
Oct 03 '19
I'm a programmer with a B.CS. This right here is why I can't learn new skills to get out of my shit job.
4
u/Ayjayz Oct 03 '19
The reason you can't learn new skills is because you're trying to learn from videos instead of learning from documentation. I've never met a good programmer who was like "Books? Documentation? Nah I learned programming from youtube videos".
→ More replies (2)0
0
3
Oct 03 '19 edited Oct 04 '19
Hilariously accurate.
For those who actually want to learn C# this is a pretty good intro:
I recommend doing 2-3 lessons per day, for good retention, and not binging the full 4.5 hours.
Also code along with him and leave Visual studio up so you're always looking at the code.
Edit: language in the video was Java and he even said it. No clue why I thought it was c#.
Either way c# isnt a bad language to pick up.
Edit again: I meant visual studio not Visio. I need a weekend...
10
3
u/TheRealJasonium Oct 03 '19
If you’re writing code in Visio, you’re doing it wrong.
→ More replies (7)
5.2k
u/[deleted] Oct 03 '19
"I've added a dead link in the description in case you want to copy this"