Thank for the great lesson I'm writing from Mozambique.❤
@JaimeGuajardo15 жыл бұрын
Plain awesomeness.
@UltimateUniverse13 жыл бұрын
When he says "hugely important" when referring to the molecularity of classes, (35:20) the subtitles incorrectly say "usually Important."
@arantebw9 жыл бұрын
MIT OpenCourseWare, thank you!
@serdard5 жыл бұрын
Great lesson. Thank you
@teledynepost14 жыл бұрын
qwaza07: yes. apparently they do this in EVERY lecture (of this course)
@سندسفرجالصغير4 жыл бұрын
Thanks for make this taturial
@jehugaleahsa14 жыл бұрын
This is a perfect example where people use object oriented programming incorrectly. The same example (minus the graph) can be written using a simple if/elif/elif/else statement in a loop that either increments of decrements one of two numbers. The example is long-winded and takes way too long to get the point. I pray no one designs code by picking out the nouns and thinking it will map perfectly into the problem domain. Geesh.
@AlgaeNymph4 жыл бұрын
Sadly, I just got a a homework assignment based on this (fog.ccsf.edu/~dputnam/cs131b/14/week14.16.lab.html), except I'm supposed to figure out how to make a 2D random walk. I've been trying to look up how but the best I've found is this (www.codespeedy.com/random-walk-program-in-python/), which doesn't map up exactly. The way it's done here is either 1) overengineered for a simple random walk but the modularity is necessary for something more complex (or at least to ease debugging), or 2) it's a Goldbergian mess the teacher doesn't notice because he's so into computational logic.
@Akavall13 жыл бұрын
@pryorka82 There is always somebody predicting a crash, and some people just a happen to get it right, ..sometimes..randomness. Austrian economists were wrong plenty of times. Dr. Guttag is exactly right about the stock market :).
@leonjones71203 жыл бұрын
I have heard of this before, but I thought it would be uninteresting, but it is interesting.
@thepowerofpositivethinking25932 жыл бұрын
wow i miss the professors
@Xb0x54013 жыл бұрын
20/20 hindsight.
@adiflorense14774 жыл бұрын
21:04 can someone tell me how the four words (Location, Compass, Field, Drunk) can be a class each?
@BVaibhav-mt8jx3 жыл бұрын
this is good torture !
@noname-uf7zw9 жыл бұрын
The drunk will stay at the same place because he will fall
@ДімаКрасько-с7м6 жыл бұрын
Tried to install matplot using pip and discovered that all get-pip.py for Python 2.5 dont work(even viewed links from 2008 to 2012). When i try to install matplot without pip it gives errors. It's easy to install for later versions of Pyhton, but i cant do nothing with this. Help, please
@zwaywoo94945 жыл бұрын
ImportError: No module named pylab
@Hotheaddragon4 жыл бұрын
you must be using python 3+ download matplotlib and use import matplotlib.pyplot as plt
@zwaywoo94944 жыл бұрын
@@Hotheaddragon thanks!
@OrakzaiSays6 жыл бұрын
12:44 I say he'll be in jail or hospital...
@JohnSmith-bm6zg3 жыл бұрын
This is a solitary alcoholic 😂
@RogerClough12 жыл бұрын
Hey buddy hate to rain on your high school parade but 50,000.00 per year is a hell of a lot of money. Best of luck
@SilvaWarrior12 жыл бұрын
getDrunk lmao
@zwaywoo94945 жыл бұрын
ImportError: No module named pylab
@mitocw5 жыл бұрын
See matplotlib.org/ and the course on MIT OpenCourseWare ( ocw.mit.edu/6-00F08 ) for more details. Best wishes on your studies!