Slide 1

Slide 1 text

10 Years of Python Libraries Armin “@mitsuhiko” Ronacher

Slide 2

Slide 2 text

Who am I? { }

Slide 3

Slide 3 text

Armin Ronacher Advisor and System Architect at Splash Damage / Fireteam Partner at Getsentry lucumr.pocoo.org/talks

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Where I come from { }

Slide 6

Slide 6 text

Hermagor Carinthia; Austria ( )

Slide 7

Slide 7 text

Population: 6952

Slide 8

Slide 8 text

Computer Scientists: 0

Slide 9

Slide 9 text

The Internet to the rescue

Slide 10

Slide 10 text

h 2003 Discovered Python

Slide 11

Slide 11 text

9 2004 ubuntuusers.de

Slide 12

Slide 12 text

n 2005 Pocoo!

Slide 13

Slide 13 text

D 2005 WTF is CGI?

Slide 14

Slide 14 text

h 2006 Colubrid GPL Licensed!

Slide 15

Slide 15 text

h 2007 Licensing

Slide 16

Slide 16 text

9 2009 Flask

Slide 17

Slide 17 text

h 20?? Many, many more

Slide 18

Slide 18 text

n Now Open Source Consulting

Slide 19

Slide 19 text

How to Succeed { }

Slide 20

Slide 20 text

you can only build what you use

Slide 21

Slide 21 text

you can only build what you understand

Slide 22

Slide 22 text

you can only build what you love

Slide 23

Slide 23 text

be critical

Slide 24

Slide 24 text

restrict your API

Slide 25

Slide 25 text

license it well

Slide 26

Slide 26 text

The Thing with Using { }

Slide 27

Slide 27 text

chicken and egg situation:

Slide 28

Slide 28 text

not enough to use it after building;

Slide 29

Slide 29 text

how do you use something that does not exist?

Slide 30

Slide 30 text

Iteration

Slide 31

Slide 31 text

M ockups

Slide 32

Slide 32 text

Use the Repl

Slide 33

Slide 33 text

Learn to Throw Away

Slide 34

Slide 34 text

Systems > Solutions

Slide 35

Slide 35 text

one trick pony

Slide 36

Slide 36 text

Understanding { }

Slide 37

Slide 37 text

this is the trickiest part

Slide 38

Slide 38 text

especially if you build something new

Slide 39

Slide 39 text

Data Flow Transformation &

Slide 40

Slide 40 text

context matters

Slide 41

Slide 41 text

w Love what you build { }

Slide 42

Slide 42 text

how do you know you found love?

Slide 43

Slide 43 text

enjoy using it? :) do you …

Slide 44

Slide 44 text

what if you found new love?

Slide 45

Slide 45 text

admit mistakes

Slide 46

Slide 46 text

give it someone else

Slide 47

Slide 47 text

being critical { }

Slide 48

Slide 48 text

it's normal to learn

Slide 49

Slide 49 text

you might hate what you did a year ago

Slide 50

Slide 50 text

second system syndrome careful though:

Slide 51

Slide 51 text

Restrict your API { }

Slide 52

Slide 52 text

APIs are Contracts __________________

Slide 53

Slide 53 text

Contracts Expensive are

Slide 54

Slide 54 text

maintenance complicates

Slide 55

Slide 55 text

it's okay to keep things private

Slide 56

Slide 56 text

you can make them public later on

Slide 57

Slide 57 text

license it well { }

Slide 58

Slide 58 text

consider the consequences

Slide 59

Slide 59 text

licenses are forever

Slide 60

Slide 60 text

API Design Goals { }

Slide 61

Slide 61 text

stateless

Slide 62

Slide 62 text

layered

Slide 63

Slide 63 text

consistent

Slide 64

Slide 64 text

small

Slide 65

Slide 65 text

abstraction leakage

Slide 66

Slide 66 text

documentation thou shall write

Slide 67

Slide 67 text

?