r/learnprogramming • • Jul 23 '17

How to Program: My new YouTube Channel pulling from 7+ years of experience working at Amazon and Facebook to teach people programming.

Hi everyone.

I've worked in the Software industry for over 10 years including my last job which was spending 5 years at Facebook working as a Senior Software Engineer and Engineering Manager.

I got tired of seeing people make the same mistakes in teaching others programming, namely introducing hard concepts too early, not starting with very simple basics first, and not teaching solid Computer Science fundamentals early on.

I started a new YouTube Channel to teach people programming: https://www.youtube.com/channel/UCZIoQFEhSJxBRQUZ1g54Z1Q

I plan on adding a new lesson at least once a week.

If you are interested in following along, please subscribe! Even if you already know a bit of programming, I hope you will still find some interesting things amongst the videos I am putting together!

3.7k Upvotes

110 comments sorted by

31

u/SpaceCowboy001 Jul 23 '17

Subscribed. Please deliver

13

u/imperio59 Jul 23 '17

Phew yes! No pressure :D

13

u/redditfend Jul 23 '17

Cool.

What programming language do you plan on using in your videos?

16

u/imperio59 Jul 23 '17

JavaScript for simple concepts to start with, then quickly go into java for probably a while. Eventually back to JavaScript, html css, sql, then android and iOS.

1

u/machinich_phylum Jul 23 '17

Shame, I am trying to learn python as my intro language to programming, but I may watch your vids anyway if it helps get any of the concepts across.

1

u/Cynical_Icarus Jul 24 '17

I'm barely better than a beginner but one thing I've learned from this sub is: don't get too attached to learning about programming by way of one language.

Yes, it's best to stick with one language while you learn to mitigate syntax being the hangup while learning higher level concepts, but don't lose sight of the goal of learning those higher concepts. If your course or book is paced too quickly or too slowly, sometimes it's nice to just have an entirely different person using a totally different teaching style help you get through stuff.

I started on Python as well and haven't yet ventured out of it very much, so I'm gonna sub to OP's YT channel to take that first step into the great unknown. Good luck and have fun!

1

u/machinich_phylum Jul 24 '17

If you have any resources to recommend, I would greatly appreciate it.

1

u/Cynical_Icarus Jul 24 '17

The only programming study I have done is the whole specialization on Python on coursera through the university of Michigan. It's a 5 course MOOC and I thought the professor was very good. The course has been updated since I took it, I believe, to shift into Python 3 from Python 2, if that is any concern to you.

14

u/DigitalStefan Jul 23 '17

So long as it's a reasonably popular language, it shouldn't matter. You don't teach someone how to program by taking them through language syntax, you teach them by helping them understand common constructs (loops, Boolean logic, objects) and then how to break problems down into basic elements that can be handled easily with those constructs.

Learning a language is just finding out how that language 'does' the things you need it to do.

37

u/[deleted] Jul 23 '17

Would love a sprinkle of intermediate to advanced lessons as well. There's a dirth of beginner material but not too much for what comes after. Thanks, subbed.

5

u/imperio59 Jul 23 '17

I can do this too as a separate string of videos. What subjects would you be interested in having me cover?

4

u/server33 Jul 23 '17

Distributed systems, concurrency, availability?

46

u/GloveSlapBaby Jul 23 '17

dirth dearth

But it means the opposite of what you seem to mean.

4

u/[deleted] Jul 24 '17

Oh wow, this..., wow, this is one of those things where I look back on the past 20 years for the gagillion times I now know that I used this word incorrectly :/

2

u/GloveSlapBaby Jul 24 '17

We've all been there.

8

u/[deleted] Jul 23 '17

Same question about dirth. I'd agree there's so much intro stuff and then a dearth of more advanced courses. There's almost no end of people who'll teach you what a variable is and then... virtually nothing.

I'd almost encourage OP not to make yet another introductory programming course.

6

u/ratmysterio Jul 23 '17

If this would have anything like data structures and algorithms then it'll be worth to subscribe. Cause I find trivial problems, like sorting and binary trees, very hard to grasp given that I do not know when to use which. The internet is daunting with information so may a fast-as-you-can meets eli5 kinda explanation would be a perfect match.

2

u/imperio59 Jul 23 '17

Noted. That's definitely on the list.

11

u/theo2612 Jul 23 '17

Subscribed. There should be more live streams or videos on YouTube on coding. I'm enrolled in grad school and taking a java course at the moment. Challenging stuff for me... methods. Good luck

3

u/imperio59 Jul 23 '17

Hopefully my videos will help you out :)

11

u/68-6f-75-73-65-6d-64 Jul 23 '17

Not aware of this sub ever exist until your post made it to /r/all. Subbed!

7

u/Kristler Jul 23 '17

I'm curious to hear what your reasoning for introducing concepts using an Assembly style language is, particularly your choice of introducing GOTO as the first exposure to flow control.

3

u/imperio59 Jul 23 '17

Because that's how CPUs work, and while goto would be a sin to use in higher level languages, it's simpler to explain than functions, but when I do explain functions, it will be easy to understand as the fact that functions are just another set of instructions to the side to jump to and back from... Hopefully... ;)

2

u/Kristler Jul 23 '17

I can definitely see the value removing layers of abstraction to really get at the core of how things work. Have you ever considered a purely-functional first approach before? I've run the whole gamut of different paradigms, and that's the one I've found that directly correlates to the students writing better code later on down the line, even when they're working with imperative or object oriented code.

1

u/semidecided Jul 23 '17

Do you know any good resources for a purely-functional first approach for beginners? Are the recommendations at Teach Yourself CS good examples?

1

u/Kristler Jul 23 '17

Not anything available online that I am aware of. The only good material I know of is a curriculum for computer science majors at a university, or some of the lesson material that I've run myself - but both of those are very much tailored and personalized specific to the class, and is intended to be used with real time interaction (i.e. not something to read and follow along with).

I know "Learn You a Haskell for Great Good!" is a great resource, but unfortunately not one for complete beginners.

1

u/semidecided Jul 24 '17

Well, that's unfortunate for me. As a self-learner, I'll just have to muddle through.

10

u/denialerror Jul 23 '17

GOTOs are how all control flow works. Higher level languages abstract away from them but they are still there.

5

u/Kristler Jul 23 '17

Yes, I am well aware of that. My point is not about the mechanics themselves, but instead the paradigm of thinking and logical reasoning that accompanies it.

3

u/denialerror Jul 23 '17

The paradigm of control flow in imperative programming is GOTOs, it is just that if...else specifies the line number.

GOTOs aren't inherently harmful. Languages that only have GOTOs can lead to poor design and spaghetti code but they aren't bad by default.

11

u/Kristler Jul 23 '17

Let me be clear. I didn't at any point say that introducing GOTOs is a bad idea, nor did I imply that GOTOs are inherently bad themselves. I'm an embedded C programmer, I know first hand the use cases of GOTO.

I'm simply curious in the pedagogical reasons they have in introducing GOTOs first.

5

u/denialerror Jul 23 '17

I can't speak for OP but what I found most distracting while learning was the magic. Knowing how code works at the most basic level and building up can demystify higher concepts.

That said, I know many people who like the magic and find it confuses the learning process to have to understand the finer detail. To each their own, I guess.

1

u/Kristler Jul 23 '17

Different strokes for different folks, friend.

1

u/[deleted] Jul 23 '17

if i was teaching id start with a general overview of how the basic logic works then modules then assembly to make them appreciate the current languages.

0

u/AlotOfReading Jul 23 '17

The "paradigm of thinking" and reasoning are ultimately similar in both, with the imperative style being somewhat more general. If they're given the right introductions, students will be able to grasp both pretty quickly as long as they aren't bogged down with the conceptual roadblock of statelessness.

5

u/Kristler Jul 23 '17

I strongly disagree. I've seen first hand how different the mindset is between students who are introduced "functional first" vs "imperative first". Heck, even objects first makes a significant impact.

But to clarify, I'm not saying that their approach is wrong. I do have a personal preference to introducing functional first, but I'm just interested in hearing the pedagogy behind their decision.

2

u/AUTeach Jul 23 '17

Probably just starting at the start. I think if you're just teaching some concepts and making people aware of languages and how they became what they are today it isn't inherently a bad thing.

3

u/Kristler Jul 23 '17

I've found that students tend to become stuck in the way of thinking they're first introduced to. It's part of why I really like introducing a functional way of thinking first, it really pays off later on.

2

u/AUTeach Jul 23 '17

I can definitely relate to what you are saying. One of the things I do in my teaching is to move my students through different languages through their two year program with me. More so, I attempt to teach them that, in an ideal world, language selection is a tool in their toolkit so I go through the decisions on why I chose a language over another.

1

u/Kristler Jul 23 '17

That's a very important thing to do, and one I'm glad you're doing! It's so crucial to keep them flexible early on, otherwise they get stuck in a rut that's very hard to get out of.

4

u/SatiricalDuck Jul 23 '17

What I always see lacking with channels like these or the new concept being pushed that "software engineering is the next blue collar job", basically stating that anyone can spend an hour "learning to code" is that actual software design and architecture are rarely discussed. Sure you can teach people to copy and paste code, but to get them to critically think about how it should be designed and then implemented is entirely different and rarely discussed. Any plans for that?

3

u/imperio59 Jul 23 '17

Yes, I wanna talk design and architecture (both of code and of distributed systems). But you can't start with that and expect novices will understand or remember any of it our be able to exercise any critical judgement on it until they know how to write code themselves.

2

u/AUTeach Jul 23 '17

It's a real trick to teach people how to solve problems. It's a bigger trick to do that successfully via video.

2

u/entropy_bucket Jul 23 '17

I'd also say teaching how to document your program. It's one thing to do something but another to document it and in industry that is what will give a guy an edge. Well documented code can save a company a lot of money.

2

u/thakritik Jul 23 '17

watched both videos, and im impressed. Subscribed and going to be part of my studies. Hope you put up more stuff soon. Thanks for your work.

3

u/imperio59 Jul 23 '17

Hope to put up the next one today. I just need to edit it. I have 7 more slide decks written, I just need to record the videos now.

2

u/[deleted] Jul 25 '17

I'm in! My only complaint is that I've already run out of episodes. I really liked the little exercise at the end of episode 4.

Thank you for doing this.

1

u/imperio59 Jul 25 '17

Hah nice. I'm working on the next ones soon.

3

u/edj628 Jul 23 '17

Tina? Is that you?!

3

u/imperio59 Jul 23 '17

No. :/

3

u/edj628 Jul 23 '17

Just kidding man :) thanks for taking the time to do something like this!

4

u/michaelklim Jul 23 '17

I've subscribed. For a newbie like me with a limited amount of time this channel will be in use. Keep it up!

1

u/volantits Nov 05 '17

The last vid was ep. 11. Are we done OP?

2

u/imperio59 Nov 10 '17

Just on a small break while I recover from sinusitis and losing my voice...

1

u/volantits Nov 11 '17

O. Get well soon, sir!

2

u/[deleted] Jul 23 '17

Susbscribed right away, thank you very much man, Im learning by reading some books and practicing, hope your videos will teach me things books cant, yt videos on the matter are usually pretty bad (at least I dont like them)

2

u/floralcode Jul 23 '17

I subbed; will check it out when more videos are up. Since we're all here, are there any well-established YouTube channels like this that are worth checking out?

2

u/carbonfreeze73 Jul 25 '17

Subscribed! Looking forward to learning with my 15yo son. Also, I can't NOT think I'm learning coding from Michael Cera.

1

u/Braller Jul 23 '17

I'm intrigued by the fact that the channel has more subscribers than its videos have in total views.

2

u/[deleted] Jul 23 '17

Read the comments, they've mostly subbed on the promise of the channel being good. If not they'll just unsubscribe later.

1

u/Angelsoho Jul 23 '17

Content is king..

1

u/enumin Jul 23 '17

Subbing when I make it home.

1

u/TabulaRasaNot Jul 23 '17

Howdy OP,

So I just watched your first vid. Pretty cool, caveman-simple ... so far :-) and I'm inclined to continue watching more. But why? For me, I mean? I'm a copy writer at an ad agency, and although I dabble a bit in WordPress for a few of our clients (as in, I know so little I'm more apt to get in trouble than solve anything meaningful), how can learning some basic programming help me in my personal or pro life?

Right now, I'm looking at it like learning a language---might be cool to know Portuguese and even come in handy sometime in some very obscure sitch, but not all that practical to put the time in (input) for what I'll get (output :-). What're your thoughts?

Thanks!

1

u/semidecided Jul 23 '17

Not OP, but coding seems like a means to scratch your own itch rather than pay for someone else to do it (or as is often the case with software, hope someone comes along and does it for you). I have no idea what a copy editor does, but if involves repetition using a computer you may be able to write a script that takes something you currently do manually and automates it for you.

1

u/TabulaRasaNot Jul 23 '17

Thanks semidecided. Prolly more itch than helping with my job. But appreciate your input.

1

u/TheWarhawk Jul 23 '17

Sub'd i'll be watching, thanks for the videos in advance!

1

u/thesquarerootof1 Jul 23 '17

namely introducing hard concepts too early

What are concepts are you referring to? I am a computer engineering student that is taking a C programming class in the summer and the thing that is most confusing to us right now is pointers and malloc/calloc.

1

u/jadeskye7 Jul 23 '17

Subscribed!

1

u/spike77707 Jul 23 '17

As someone who learned to program "on the job", this is definitely what I need. Subscribed. Thanks for doing this!

1

u/mrTang5544 Jul 23 '17

Looking forward to the cs. My background was in ee so I feel like I am at a disadvantage when interviewing for software engineering positions, I tried catching up by implementing basic data structures and algorithms. Hoping to learn from your channel

1

u/beemergent Jul 23 '17 edited Jul 24 '17

Subscribed! A request. One of the ways I learn best is to self-test and have practice problems. Have you thought of creating content in addition to your videos to supplement to reinforce ideas? I would be happy to help in creating quizzes in google forms or an ANKI deck for spaced repetition :) We could also create a GITHUB Repo that syncs in parallel with your videos. :) Just a few ideas from the top of my head. :)

1

u/blank_dota2 Jul 23 '17

I'd like you to teach Java if possible.

It would be fascinating to see it taught by you.

1

u/ArizonaCaliDude Jul 23 '17

Just subscribed! I'm a newbie with very little knowledge, but would love to learn to program, hoping this helps!

Keep up the good work so far!

1

u/l2agnarok Jul 24 '17

Subbed! Weird question- Would you ever consider going over work environments and how it works for a developer/software engineer? Such as basics like how everyone pushes their code to a single source, code reviews, anything to help non-devs to understand exactly how things work from their end.

As someone working towards learning programming to understand developers more, I feel like this would help me.

1

u/RippyTheGator Jul 24 '17

This is awesome! Subscribed. Looking forward to the videos. Thank you for doing this!

1

u/FlashTheCableGuy Jul 24 '17

hey OP please deliver, I def wanna be able to get some good experience under my belt.

1

u/ArizonaCaliDude Jul 24 '17

Could you please make an audio only version (podcast) of these, I think that would be ideal for a lot of folks on here

1

u/Feroc Jul 24 '17

It's always good if someone creates something for the community, so thanks for that.

Personally I would have preferred something deeper. There are already 194845 beginner tutorials out there, some more advanced stuff would be nice.

1

u/[deleted] Oct 14 '17

RemindMe! 30 days

1

u/RemindMeBot Oct 14 '17

I will be messaging you on [2017-11-13 00:40:44 UTC](http://www.wolframalpha.com/input/?i=2017-11-13 00:40:44 UTC To Local Time) to remind you of this link.

[1 OTHERS CLICKED THIS LINK](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=[https://www.reddit.com/r/learnprogramming/comments/6oz03w/how_to_program_my_new_youtube_channel_pulling/doc6wpo]%0A%0ARemindMe! 30 days) to send a PM to also be reminded and to reduce spam.

Parent commenter can [delete this message to hide from others.](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Delete Comment&message=Delete! doc6xh5)


FAQs[Custom](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=[LINK INSIDE SQUARE BRACKETS else default to FAQs]%0A%0ANOTE: Don't forget to add the time options after the command.%0A%0ARemindMe!)[Your Reminders](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=List Of Reminders&message=MyReminders!)FeedbackCodeBrowser Extensions

-1

u/Dads101 Jul 23 '17

Subscribed please deliver. Consider doing livestreams of just you coding? I find that department severely lacking and I would be doing it myself, but I'm not good enough yet. Thanks for your help and contributions !

1

u/imperio59 Jul 23 '17

I'll consider it. It might be better quality if I record and edit the videos rather than do it live, but the concept is a good idea for some future videos.

3

u/[deleted] Jul 23 '17

Live coding can be incredibly challenging even for the most competent developer. That said as he'd just be doing it on camera it wouldn't be anywhere near as daunting as an actual live coding session done in a room full of people (terrifying but incredibly fulfilling when you pull it off).

3

u/Dads101 Jul 23 '17

Oh I see thanks for the explanation. Any reason it can be daunting? Spotlight focus etc? Idk why the downvotes just genuinely curious like everyone else lol

0

u/[deleted] Jul 23 '17

You're basically hoping your hours of planning come together without any problems but there are many variables in play.

Being put on the spot Remembering your lines and cues Avoiding technical issues Avoiding brain farts/silly mistakes

0

u/semidecided Jul 23 '17

I'd imagine it would be like a live stream of George R. R. Martin writing his next book.

-1

u/Sullibang Jul 23 '17

3 weeks ago? Come on bro

0

u/Derpstiny123 Jul 23 '17

This is going to be interesting

-4

u/[deleted] Jul 23 '17

Immediately throwing out that you worked for Facebook or Amazon gives you any street cred. If it does, I want you to know that I work at Radio Shack selling phones. You can trust me for all your programming knowledge needs.

0

u/[deleted] Jul 23 '17

[deleted]

46

u/imperio59 Jul 23 '17

I plan on covering a higher level language but the first ten lessons or so will be computer Science basics because in my opinion, without those well understood, people get confused and give up when more complicated concepts are introduced.

I will cover JavaScript to start, then likely switch to java for a bit. My goal is to eventually have a series in java, JavaScript and the whole front-end stack (html, css), sql (either mysql or postgres) and from there do maybe android and iOS too.

17

u/BlueAdmir Jul 23 '17 edited Jul 24 '17

Here's a thing I think you should cover quickly because as a beginner I still don't know how to get around and would find it incredibly useful - how to actually get a deployable .exe application that actually runs outside of the IDE. I know how to make a window and buttons, how to execute business logic, save to files, yadda yadda, but it all needs to run through my copy of Eclipse every time. I'd love to be able to make something I could take to a freshly installed copy of Windows / Linux / iOS, have a leftclickable shortcut to it on the desktop and it would run with no other setup or tool required.

This alone would put your tutorial head and shoulders above the 18425th iteration of an East Indian guy explaining what a String is and how to use for and while loops who keeps on fixing his code while recording and apologizing for fixing his code more than explaining it.

3

u/massiveboner911 Jul 24 '17

I just went through this. Indian dude started his video with Today I will make a FUNCTION.

"if bananas == banana" print('God help me')

NO

2

u/DConn04 Jul 24 '17

Are you talking along the lines of something like Visual Studio Code? If it is, then Chris Hawkes has a video explaining where and how to set up it up in his beginners tutorial.

25

u/Vociferix Jul 23 '17

I have met people ... for whom self-balancing search trees are trivial

I feel like I have gotten very good at implementing various (relatively) advanced data structures and algos, but I always screw up AVL trees (and similar). I don't know why, but I always have to spend much longer debugging these than other things. I remember my original data structures and algos class in college and I did well on everything except the AVL tree project.

Anyway, you just reminded me of my arch-enemy in programming, so I had to rant :P

13

u/lyons4231 Jul 23 '17

What are AVL trees? More so, what does AVL mean? I have implemented a BST with linked lists, just never heard the AVL term.

1

u/coffeeandlearning Jul 23 '17

The AVL part comes from names of people that I can't spell (so you have to google it). The main idea is that every time you insert an item, if it needs to it can rotate some of the nodes to adjust its structure to remain balanced. That small addition on insert allows for search and retrieval to always be fast by making sure the data structure will always be near best case for those operations.

11

u/[deleted] Jul 23 '17

[removed] — view removed comment

3

u/lyons4231 Jul 23 '17

Ah okay that makes sense. I'll read up on that, interested on how that balancing is done. Although I suppose if you balance after every insert or delete you would only have to move 1 item at a time, which shouldn't be hard with linked pointers.

4

u/Vociferix Jul 23 '17

I'll let you research the details, but it is a bit more complicated than that. Granted, the concept isn't too difficult to understand, as balancing is made up of two actions: left rotation and right rotation. It can just be trickier than it would first seem to ensure all pointers are pointing to the right place after a rotation. It can be easy to end up with loops in tree among other things.

2

u/lyons4231 Jul 23 '17

Ah okay. I went and read the wiki article for it but yes it is more confusing than I first thought. Do you know of any good resources on rotations? If not no worries, as I'm taking data structures next semester I just figured a head start can't hurt.

10

u/ChipMania Jul 23 '17

https://visualgo.net/en/bst

This is what helped me visualise how the insert and delete works for AVL trees, hope it helps.

1

u/xPerplex Jul 24 '17 edited Nov 30 '17

You look at the lake

44

u/Killbot6 Jul 23 '17

i wanna know this, it's a make or break for me to sub or not.

-8

u/tvdang7 Jul 23 '17

geez what a tough crowd.... person does this from their spare time working at a nice company and you feel they "NEED" your sub?

11

u/[deleted] Jul 23 '17

Not at all I think they're just wondering if it's worth their time. The guy may have a great channel but that doesn't mean it's a great use of everybody's time, because 'programming' is big.

3

u/Killbot6 Jul 23 '17

I don't think they "need" anything, and that wasn't implied or said. I just want to know what she'll be covering. But yes, act like an ass, that solves all the world's problems.

0

u/[deleted] Jul 23 '17

[deleted]

1

u/imperio59 Jul 23 '17

Hopefully this will be easy to get once we get to it.