presentation-27 - cornell universitypresentation-27.pptx author: llee created date: 5/6/2014...
TRANSCRIPT
![Page 1: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/1.jpg)
Announcements
Slides by D. Gries, L. Lee, S. Marschner, W. White
Lecture 27: Valediction CS 1110
1. No handout for today 2. No iClicker points on CMS? Come up after lecture, iClicker in hand 3. Consulting might move to a bigger room. Watch Piazza!
![Page 2: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/2.jpg)
Breakout as metaphor
![Page 3: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/3.jpg)
Some days, you’re the bricks
![Page 4: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/4.jpg)
But some days, you’re the paddle
![Page 5: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/5.jpg)
![Page 6: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/6.jpg)
![Page 7: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/7.jpg)
![Page 8: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/8.jpg)
(consultant's breakout)
![Page 9: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/9.jpg)
How do you win?
![Page 10: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/10.jpg)
Habits of Programming
• Change one thing at a time § Test before proceeding
... which often means writing your test cases first
• Document what you’re doing § Docstrings, specs, invariants, good variable names
• Aim for elegance and simplicity § The fewer lines, the fewer places for bugs
![Page 11: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/11.jpg)
Habits of programming Mind
• Figure out the problem beforehand
• Make a battle plan
• Stay organized
• Aim for elegance and simplicity
• Say “thank you” (credit your sources)
![Page 12: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/12.jpg)
--- the Economist: “Teach computing, not Word” http://www.economist.com/blogs/babbage/2010/08/computing_schools
Like philosophy, computing qua computing is worth teaching less for the subject matter itself and more for the habits of mind that studying it encourages. ...
Back to the First Lecture
![Page 13: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/13.jpg)
... within the confines of the box you are more or less God, your powers limited only by your imagination. But the price of that power is strict discipline: you have to really know what you want, and you have to be able to express it clearly in a formal, structured way that leaves no room for the fuzzy thinking and ambiguity found everywhere else in life…
![Page 14: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/14.jpg)
Animation
![Page 15: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/15.jpg)
Frozen (Buck/Lee | Disney)
![Page 16: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/16.jpg)
The box expands
![Page 17: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/17.jpg)
TRON (Lisburger | Disney)
![Page 18: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/18.jpg)
Iron Man 3 (Black | Scanline VFX | Marvel)
![Page 19: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/19.jpg)
An extension of the mind…���creations of pure thought
![Page 20: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM](https://reader034.vdocuments.us/reader034/viewer/2022042309/5ed6248224dc623e75223e6f/html5/thumbnails/20.jpg)
Be the Ball!