r/learnprogramming • • Aug 28 '19

MIT's Introduction to Computer Science and Programming Using Python starts today.

For those of you who are interested, MIT's popular Introduction to Computer Science and Programming course starts today. I took the previous iteration of the class but had to drop out due to time constraints. I registered and intend to complete it this time around. It's a really well designed course that goes through the basic topics of computer science. The assignments are challenging, but you will learn a lot from completing them. I highly recommend it!

Link: https://www.edx.org/course/6-00-1x-introduction-to-computer-science-and-programming-using-python-3

1.9k Upvotes

120 comments sorted by

175

u/Covered_in_bees_ Aug 29 '19 edited Aug 29 '19

I can't say enough good things about Berkeley's CS61A class - Structure and Interpretation of Computer Programs

https://cs61a.org/resources.html

This is based on the seminal MIT course but adapted to Python. I'm an entirely self taught programmer (work in ML) and I code in Python almost all the time (Currently developing a Keras like training framework in Pytorch for my employer), and this course has single handedly been the most useful one I've ever taken by far (I took it many years back). It doesn't just teach you how to write code... it broadens your mind in ways that very few programming courses manage. It was so liberating to easily and masterfully grok recursions, call stacks, closures and functional programming concepts. These are all things that are important to understand but not always touched upon in a lot of other courses. I can't recommend this course enough (pick one of the previous sessions and use the videos + assignments / homeworks). You have to be self-motivated, but it is really worth the effort.

Edit - I'll add that the course in the OP would be a good complementary course to CS61A. I don't view one as a replacement for the other. Sorry, should probably have been clearer about that when I posted the comment above...but also wasn't expecting to see my comment shoot up to the top here :-)

4

u/tamhle824 Aug 29 '19

I highly recommend CS61a. Check it out at cs61a.org.

I will admit, the materials were very hard coming in with 0 experience, but I took my time and worked through the homework, labs, discussions, and that rediculous hog project. As of now, I have a good grasp of environments and frames, and I'm decent on recursions and tree recursions.

DeNero's a great teacher, just make sure you put videos at 1.25 speed!

3

u/SixCrazyMexicans Aug 29 '19

Man I'm helping a friend work through a previous version of the book that uses Scheme. It's definitely a learning experience as I've never worked with scheme or any lisp language before, but it's a lot harder to try to learn a concept and immediately try to explain it. I think I'll push him to switch to the python book instead. Thank you!

2

u/CompSciSelfLearning Aug 29 '19

The textbook: http://composingprograms.com/

I wouldn't be so fast to switch. Composing Programs is not a translation of Structure and Interpretation of Computer Programs into Python. You may benefit from learning a LISP/Scheme language. CS61a has assignments in LISP/Scheme

3

u/sonnytron Aug 30 '19

I can't physically or mentally agree more.
Taking this now as a five year+ self taught full time mobile engineer.
It teaches you way more than an intro to Python book does.
It teaches you Boolean logic, currying, pure functions and functional programming and also teaches you space and time complexity in a way that will help you pass algorithm interviews in the future.
The lecture videos and resources are life saving. And the lecturers have great videos on YouTube.

Do this instead. cS61A. Better than CS50. Yes I said it.

1

u/stphn_ngn Aug 29 '19

I've been interested in learning data structure and algo, will this course cover everything I need to know?

3

u/Covered_in_bees_ Aug 29 '19

I think the EdX course in the OP might be better to intro you to data structures and algorithms. CS61A isn't really too focused on that. Then again, that is a complicated topic and I'd highly recommend Robert Sedgewick's Algorithms course on Coursera if it is still running once you are more familiar with programming.

2

u/stphn_ngn Aug 29 '19

Ok thanks for the reply. I understand the basics, like I can write scripts and am familiar with objects and classes. But it looks like the edx course also covers more than that it seems, so I'll stick around for a bit. Have you taken this course? If so can you share a bit about what you learned?

Are you also familiar with edx? Does it roll out materials every week?

1

u/iButch Aug 29 '19

I am working though this course now, but the one with lisp/scheme (spring 2011) . Do you think I would lose any benefit from using python?

Basically if I take the scheme course I lose the python experience, but if I take the python course then I am not reading per the original authors intent. Thoughts?

3

u/Covered_in_bees_ Aug 29 '19

I'd just stick with what you're doing if I were you. The key thing with SICP is understanding all the neat concepts it introduces. The actual programming language is almost irrelevant. If you grasp those concepts, then that is all that matters. Picking up Python or another language would be easy enough later and there are other courses more focused on the actual language itself. The Berkeley course itself only introduces and uses enough of Python to teach the concepts and isn't meant to be any sort of exhaustive course on Python itself.

1

u/iButch Aug 29 '19

That makes sense, thanks :)

1

u/DesignPrime Aug 30 '19

Would you recommed this course or cs50 from harvard for someone starting out?

1

u/Covered_in_bees_ Aug 30 '19

I wouldn't be the right person to ask regarding that. I've heard great things about both courses but they both came about after I was well on my way to being a programmer.

1

u/castleguar Aug 30 '19

Is it possible to take the course you are talking about through one of the online learning schools, like EdX or Coursera? Or anywhere else? Or do you have to actually go to Berkeley?

1

u/Covered_in_bees_ Aug 30 '19

No, it isn't on any of the online platforms, but I don't really think it needs to be. Go to one of the previous year course websites like this one: https://inst.eecs.berkeley.edu/~cs61a/sp18/

And you have all the videos and HW/exams. It does look like they take the solutions offline for HWs, but if you want, you can follow along with the current Fall class for 2019 and grab the solutions as they get posted and use them to check how you did and figure out solutions to problems that had you stumped.

1

u/ksnyder1 Nov 21 '19

Hey a little late here but I'm interested in taking CS61A alongside Harvard's CS50 - I'm having a little trouble with these lecture videos though. So each lecture video is broken up into smaller videos - but when I look at the playlists it just looks like random assortments of videos from different years. Any trick here or do I just have to find the right order of videos myself for whatever year I'm following?

0

u/[deleted] Aug 29 '19

[deleted]

25

u/Fry_Philip_J Aug 29 '19

I looked around and the first book starts with: "What is Computer Science?" and "What is a Computer Scientist?". So yep. It's beginner friendly :)

2

u/Covered_in_bees_ Aug 29 '19

/u/granite_towel gave a far more detailed answer than I ever could, so I'd refer to that. In general, if you've never programmed anything ever, and have zero familiarity with Python, this course may be a bit too challenging from the get go. As mentioned in the post by /u/granite_towel , I'd recommend doing some introductory python course like the Google one he recommends before tackling this.

2

u/CompSciSelfLearning Aug 29 '19

It's good form to link to the comment you are referring to rather than the username of the author.

1

u/[deleted] Aug 29 '19

It is a MIT course, so the breadth will be much wider and the pace will be quicker than about 60-70% of American universities, but there shouldn't be any issue if you study everyday. The language won't pose an issue but the new concepts of logic will be the biggest hurdle; however, don't even let the concepts or syntax drive you away from a better future :)

17

u/NaturalThe1 Aug 28 '19

I left programming behind a while ago, but I'm always looking for things that may reignite my interest or keep my skills somewhat fresh. This looks pretty useful and it says the course is free, my question is if there's a catch? Say I didnt do one of the assignments; or skip a few lectures, or life gets busy and I stop halfway through. What will happen/Any consequences?

29

u/MirrorLake Aug 28 '19

No catch. Watch the old lectures on YouTube for free. You don't necessarily even have to follow along on the website, but of course you'll want to do as much programming as you can if your goal is to learn the subject fully.

https://www.youtube.com/watch?v=nykOeWgQcHM&list=PLUl4u3cNGP63WbdFxL8giv4yhgdMGaZNA

I can vouch for this course myself, I'm not a beginner but I watched it as a refresher and enjoyed it a lot.

11

u/[deleted] Aug 28 '19

But Imo the questions are 10x better than the videos because they actually make you think like a programer? It is because of this course that I can now see a problem and think about what I could use to solve them.

2

u/[deleted] Aug 29 '19

Thank you for that link!

2

u/NaturalThe1 Aug 29 '19

Thank you for the info!

1

u/MirrorLake Aug 29 '19

You're welcome. MIT's CS lectures on YouTube are awesome, I continue to watch them even after finishing college. Enjoy!

5

u/johnnymo1 Aug 28 '19

The consequence these days is that if you don't pay for a course on EdX, you lose all access at the course's end date. So if you were to stop partway through, you would need to pay to complete the course.

2

u/TaeKwanJo Aug 29 '19

I enrolled in CS50 three years ago and I’m able to do the new 2019 assignments.

6

u/johnnymo1 Aug 29 '19

That's because you enrolled in the course before the change to that system, it was (somewhat) recent. I took courses before the change that I can still access as well too.

EDIT: Found the announcement back when it happened: https://blog.edx.org/updates-platform-achieving-long-term-sustainability?track=blog

3

u/TaeKwanJo Aug 29 '19

Good to know. That’s unfortunate

1

u/NaturalThe1 Aug 29 '19

Gotcha, Thank you for the info!

13

u/ChubbyMozart Aug 29 '19 edited Aug 29 '19

It's very edifying because it deals with some CS fundamentals that are so elegantly explained by Professor Eric. The problem sets are also well designed to make students go outside their comfort zone in order to experiment with new ideas.

However, there are a few things to keep in mind:

Requires a lot of committment

I did the last iteration of this course and found their timelines to be quite rigid and unnecessarily crammed (unlike Coursera where there is much more flexibility).

The level of difficulty can be intimidating

Despite having previous Python experience, I felt that this course was a little challenging in terms of the topics that were covered. It tries to touch upon several concepts, and in doing so, compromises on clarity. So I would definitely recommend Codecademy to a complete newbie instead.

Edx as a platform leaves a lot to be desired

There are so many bugs! You have to copy all of your code to an IDE (or notepad) before submitting because there is a recurring problem of vanishing code. This has existed for a while now, but Edx does absolutely nothing about it.

Other concerns

There only seem to be 1 or 2 experts who actively post useful explanations and links. This user called Kiwi Trader is doing all the heavy lifting, but there's only so much that one person can do. So most of your understanding will be determined by your own ability to research.

Finally, some exercises can seem ambiguous. The official answers and explanations will be disclosed, but if they aren't convincing enough for you there's little redress to be found in the 'discussions' section.

9

u/budahfurby Aug 29 '19

I am currently putting myself through automate the boring stuff with python and using codecombat as a fun breather in between chapters.

Would it be worth it for me to take this class or is the information the same?

4

u/Jaondtet Aug 29 '19

No, the information is not the same at all. Automate the boring stuff is fun, and gives you a functioning overview of how to use some cool python libraries, but it doesn't really teach you how to program freely.

According to the website, these are the goals of the course:

A Notion of computation

The Python programming language

Some simple algorithms

Testing and debugging

An informal introduction to algorithmic complexity

Data structures

Of these, only "A notion of computation" and "debugging" and "the python programming language" are covered in Automate the boring stuff. And I'd bet that the course goes way more in-depth on these. So no big overlap here.

1

u/budahfurby Aug 29 '19

Thanks! I'll sign up today!

9

u/knuckledowntown Aug 29 '19

I make a new reddit account to only subscribe to educational and self-improvement subbredits, I just started learning python literally yesterday, and I see this post within minutes of creating my new account. This is a good sign.

3

u/instantderp Aug 29 '19

happy coding!

2

u/knuckledowntown Aug 29 '19

Thanks. I'm a bit into the course now.

1

u/ds27005 Aug 30 '19

Try using Custom feeds.
Let's you make a custom feed for selected subreddits.

2

u/knuckledowntown Aug 31 '19

Thanks for the advice!

8

u/manderble Aug 29 '19

Same for Harvard's, but you won't get kicked out if you don't pay by a certain date: https://courses.edx.org/courses/course-v1:HarvardX+CS50+X/course/

3

u/[deleted] Aug 29 '19

You can audit the course though without paying

6

u/manderble Aug 29 '19

Yes, but you can complete Harvard's without paying.

3

u/[deleted] Aug 29 '19

Perhaps I'm missing something, but it looks like you can audit either or them. As far as I can tell, neither will kick you out for auditing. If you want the certificate, you have to pay for either.

2

u/Renegadent Aug 30 '19

If you are on the audit track you will lose access to the course at the end of this offering.

4

u/delitomatoes Aug 29 '19

Any point if I'm already doing CS50?

4

u/oh_madeets Aug 29 '19

Is this a free to take course???

3

u/birolsun Aug 28 '19

How many times a year this course opens? I will just try to keep and want to see if im able to do it before paying. Can i enroll for the next one if im ok

2

u/RanByMyGun Aug 29 '19 edited Aug 29 '19

It seems like a few weeks to a month after one session ends they open it again. I started the most recent one and it was around early June?

0

u/[deleted] Aug 29 '19

[deleted]

1

u/rarelygiveshits Sep 04 '19

Is this course self-paced? I am already in University doing engineering. Will I able to take and manage all lectures and assignments at my leisure.

0

u/[deleted] Sep 04 '19

[deleted]

1

u/rarelygiveshits Sep 04 '19

If I start right now, will my deadlines also shift forward, or would I miss out on the first few

0

u/[deleted] Sep 04 '19

[deleted]

1

u/rarelygiveshits Sep 04 '19

Thanks! Would all of these conditions be the same in Harvard's cs50 too. What does it mean for for this course to be self paced

3

u/CookhouseOfCanada Aug 29 '19

Is there any point in paying for the Verified Track?

2

u/[deleted] Aug 28 '19

Can I purchase the verified track later like next week

2

u/Jack8lack Aug 29 '19

Sept 25th is the deadline for purchasing verified track

2

u/OrionTheJester Aug 28 '19

Thanks for this human you're awesome!

2

u/[deleted] Aug 29 '19

This thing is really free?

0

u/[deleted] Aug 29 '19

[deleted]

1

u/[deleted] Aug 29 '19

Thanks!

4

u/RanByMyGun Aug 29 '19

Auditing the class doesn't give you access to the midterm or final but you can do everything else

2

u/Pitchi21 Aug 29 '19

Wow, thank you for sharing! I always was on the networking & hardware side with basic programming knowledge. This is definitely something that I have wanted to take even just to listen!

2

u/ejman7 Aug 29 '19

Registered... for the 3rd time. Hoping my schedule allows me to stick it through to the end this time.

2

u/KatoHayashi Aug 29 '19

Any similar course recommendations that use JavaScript instead of Python?

2

u/tstr2609 Aug 29 '19

Is it worth to pay for the verified track?

1

u/[deleted] Aug 29 '19

Just signed up for the free audit!

1

u/themexicanguy_ Aug 29 '19

I'm new to coding but I really want to learn more and improve what I know. I learned a bit of HTML and CSS but I'm looking to learn more languages. I'm currently in high school and I want to get a bit of leverage or understanding of what I'm going to learn in college. I've been looking computer programming careers and I've been intrigued by full-stack, front-end, and back-end developing. I am mostly interested by back-end developing and based off what I have researched it involves knowing Python. Would I be able to understand or go through with this course? And if anyone can help me out and give me some tips on how to learn programming better and what I should know. You can send me links or whatever you want. Or tell me about other careers within computer science that are interesting. I'm currently a senior and I am trying to teach myself to code. Any responses would be great !

1

u/PM_ME_GRANT_PROPOSAL Aug 29 '19

Great course. Took it several years ago and highly recommend this and the sequel course.

1

u/call_me_mistress99 Aug 29 '19

Which one is the sequel course?

5

u/berklaveiki Aug 29 '19

It starts mid-October. I'm going through the OCW lectures right now to prepare.

https://www.edx.org/course/6-00-2x-introduction-to-computational-thinking-and-data-science-3

1

u/theHighChaparral Aug 29 '19

This looks great

1

u/Delusional_Sage Aug 29 '19

Going to check this out, thanks!

1

u/Dennozs Aug 29 '19

How does that with the certificate work? Like is there an exam or something at the end?

1

u/LegendOfBoban Aug 29 '19

Hows this course comparable to CS61A (Berkeleys intro class). Do they cover the same material, or is one or the other more in depth? Thanks.

1

u/Regex00 Aug 29 '19

Just finishing up this same course but the 2017 version, it’s fantastic and I highly recommend it. I was learning program before through a university course and some udemy stuff but I felt like this course really nailed everything not just about Python, but about programming. I feel way more confident about my overall skill set and knowledge of programming in general thanks to this course. The only thing o would add to this is learn how to execute a python script from the terminal instead of Anaconda or anything Python IDE. This way you will feel comfortable writing Python anywhere, not just on your machine that you have set up specifically for the course.

1

u/Ragnar_The_Dane Aug 29 '19

A common criticism I've read about using Python for teaching Computer Science is that memory management and similar things that are done manually in low level languages like C are automated in Python. This makes it difficult to teach these concepts when starting out with Python. How does the MIT course teach those topics or avoid giving an incomplete understanding of how programming languages work?

This is coming from someone who is mainly experienced in Python, although still a beginner, that is wondering if this course is a good fit.

1

u/[deleted] Aug 29 '19

I wish the pricing was geographical though. $75 is quite expensive in some regions of the world for a certification.

1

u/LightWeightFTW Aug 29 '19

Thank you so much for this. Already enrolled 👌🏽

1

u/[deleted] Aug 29 '19

Nice post!

1

u/[deleted] Aug 29 '19

And this is free? Without certificate

3

u/andreiancu Aug 29 '19

Yes

1

u/[deleted] Aug 29 '19

Might be just what I need to get started on coding/programming

1

u/andreiancu Aug 29 '19

Take a look at CS50 as well

1

u/[deleted] Aug 29 '19

Will do, just a google to find what I need?

1

u/stphn_ngn Aug 29 '19

How many weeks are there?

1

u/Gutom_Shankpot Aug 29 '19

+1 on Leader election algorithm for distributed systems for automatic directed failovers with custom logic taking numerous network related or other causes into consideration. Algorithms and practical use cases, FTW.

1

u/Robi5 Aug 29 '19 edited Aug 29 '19

Started taking this course the last time it was offered at the start of the summer and loved it but fell behind halfway and then stopped doing it. I know there are always excuses but I had started the course a week late and then just got real busy at my job and with life.

I am going to try to take it again and complete it this time. I think I'll end up doing the verified track for further motivation.

1

u/iWORKBRiEFLY Aug 29 '19

I started it, it seems like it's going to be fun

1

u/TecSentimentAnalysis Aug 29 '19

Any good intermediate python online course available?

1

u/Throwaway963843 Aug 29 '19

Do you have to start today?

1

u/[deleted] Aug 29 '19

so this isnt actually free then? says youre pretty much locked out by October if you dont pay for full access by September 25th

1

u/[deleted] Aug 31 '19

Where can I find more courses like this one? For example something related to C#

1

u/learningphase Sep 01 '19

is it free?

1

u/Hatuta Sep 10 '19

Hi guys, this is the first time I have attended online course. Should I pay to get the certificate? Is it useful for my CV, I mean I can list this course in my CV without certificate, right? or not. Thank you!

-1

u/superstring-man Aug 28 '19

!remindme 364 days

-1

u/[deleted] Aug 29 '19

I think its a great thing that EdX is forced to deny users from "Iran, Cuba and the Crimea region of Ukraine " -- We need to stop educating our enemies on how to better hack us and steal out knowledge. If fact, why is China not on this list ? Consider that their weaponized AI engineers [that they used to attack the USA on a daily basis] our ALL educated in the west, we should definitely add China to this list.

0

u/Tysinflatedego Aug 28 '19

Thanks so much for the link, I am so excited!

0

u/[deleted] Aug 28 '19

[deleted]

51

u/[deleted] Aug 28 '19

Says: Students without prior programming background will find there is a steep learning curve and may have to put in more than the estimated time effort.

So... maybe? What is his current skill set?

0

u/[deleted] Aug 28 '19

[deleted]

24

u/Treed101519 Aug 28 '19

If he already has a small background in it/a taste of coding, and likes it, I dont see a problem there!

9

u/buurenaar Aug 28 '19

A taste? On a scale of hello world to jittery from Java addiction, how far down the rabbit hole are we talking?

18

u/[deleted] Aug 29 '19

Are there really people out there addicted to Java? Can we help them break the addiction in some way? Because that's heartbreaking.

5

u/skat_in_the_hat Aug 29 '19

not sure if he meant literal coffee, or for some reason hes addicted to programming and shaking?

3

u/JChuk99 Aug 29 '19

Listen man java just scratches that itch.

1

u/buurenaar Aug 29 '19

Better Java than Flash? :P

8

u/johnnymo1 Aug 28 '19 edited Aug 28 '19

It is an excellent resource. I took it having some small knowledge of Python before and I definitely felt like it gave me a deeper grasp of it.

EDIT: I had basically no knowledge of data structures and algorithms going in, but an okay understanding of Python syntax, so it's probably hard to judge from my experience how hard it would be coming into it from scratch in terms of Python.

7

u/Sal7_one Aug 29 '19

Rock on. My older brother always told me to Google shit. And never taught me a thing.

But when I started learning Android and PHP.

He challenged me for making a game with unity. None of us had prior knowledge. We didn't know what were collisions animations. We literally knew simple logic. And a couple of programing languages.

He said "2 weeks, make a game any game. May the best project win"

He won. He made an awesome game. Bonus: years later it won him a prize when he showed it in his uni too! He didn't want to show it. But was pushed by professors and the dean loved it.

What I'm trying to say is. Make him slam into the wall and let his researching skills grow. They're more important than anything.

But the same time. Challenge him. Guide him.

I wish you both nothing but success. You guys are cool

3

u/ChubbyMozart Aug 29 '19

For a complete newbie, I would highly recommend Codecademy.

1

u/[deleted] Aug 28 '19

Yes

1

u/[deleted] Aug 29 '19

This course didn't teach algorithms in depth. But it's a good course to start with and it's not easy to get through.

1

u/tisboyo Aug 29 '19

Yes, I completed it when it was offered last quarter and didn't have many problems grasping it, except Big O confused me, but I still learned a lot.

1

u/[deleted] Aug 29 '19

I did half the course last year and I plan do finish it now. The most difficult problem in the first half is problem 3 of week 1.

-1

u/dr_spork Aug 29 '19

Yes. Even if you don't know how to use question marks and apostrophes now, you will, after learning programming.

0

u/[deleted] Aug 29 '19

[deleted]

1

u/NenScientist Aug 29 '19

The strongest and most useful part of CS50 is the part where they use C, playing around with memory management and other stuff, Later on it starts focusing on other stuff, but if you are learning from it, keep going.