1 of 35

Slide Notes

DownloadGo Live

Programming as a Way of Life

Published on Nov 18, 2015

Last lecture (Week 10) in my fall quarter class, Programming as a Way of Life

PRESENTATION OUTLINE

programming as a way of life

Last Lecture in Python
Photo by yukop

scribes

three volunteers, no need to write slides
Photo by Lamerie

friday deadline

  • After 5pm this Friday
  • After Friday 5pm, no late work accepted
  • Commit everything to github repo
  • Self & faculty eval due online
  • Come to Thursday lab for help
Photo by Daniele Zanni

bitcoin

  • A new kind of money: cryptocurrency
  • A new kind of money: cryptocurrency
  • Free from inflation
  • Free from inflation
  • Fast to transfer, anywhere with internet
  • Fast 
  • Not controlled by any nation
  • (More) anonymous
Photo by zcopley

bitcoin

  • Achieved through hard math puzzles
  • Puzzle: predicting a hash function
  • Getting zeroes in SHA-256
  • Achieved through programming
  • Enforced by users, computational power

is it a bubble

like dutch tulip bulbs, subprime mortgages
Photo by JMazzolaa

heat of information

crypto warmth by bitcoin mining

any news?

heard of anything cool done with programming?
Photo by mick62

review

biased towards classes

Untitled Slide

pythonic

the adjective for "that is soooo python"

emptiness

of a list

class: turtles

world-carrying, teenage mutant ninja, etc.
Photo by Edgar Barany

scopes & classes

a way of limiting scope in a module
Photo by Jeff Kubina

types & classes

a more general, customizable type
Photo by OpalMirror

class members

data members, function members (methods)

objects & classes

instances & templates
Photo by timtak

objects & classes

instances & templates
Photo by harry_nl

CLASS: MONEY

easter island stone wheel

CLASS: MONEY

dollar, euro, yuan, yen, real, rupee, peso
Photo by Bradley Wells

CLASS: MONEY

wizarding currency

coding exercise

remember to share the typing

classes everywhere

learn to see them wherever you go

classES everywhere

learn to see them wherever you go
Photo by Dunechaser

CLASS: YOU CHOOSE!

make up a new class and its members

object-oriented programming

good preparation for java

tiobe index

OF PROGRAMMING LANGUAGES

to java and beyond!

  • If you want to read ahead
  • Head First Java textbook
  • Think Java online PDF textbook
  • Java course at Lynda.com
Photo by DeaPeaJay

MY TEACHING STYLE

  • Collaborative teaching
  • Collaborative / pair learning
  • Creative writing
  • More inspirational than technical
  • Choose your own project!
  • Invitation to be a colleague

THURSDAY LAB

projects, snacks, more python goodies

jobs in python

Photo by Marius Brede

the end

It's been great teaching you!
Photo by .SilentMode