presentation-27 - cornell universitypresentation-27.pptx author: llee created date: 5/6/2014...

20
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!

Upload: others

Post on 29-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

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

Breakout as metaphor

Page 3: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

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

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
Page 6: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM
Page 7: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM
Page 8: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

(consultant's breakout)

Page 9: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

How do you win?

Page 10: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

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

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

--- 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

... 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

Animation

Page 15: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

Frozen (Buck/Lee | Disney)

Page 16: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

The box expands

Page 17: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

TRON (Lisburger | Disney)

Page 18: presentation-27 - Cornell Universitypresentation-27.pptx Author: llee Created Date: 5/6/2014 11:39:19 PM

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

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

Be the Ball!