• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
The One Way
 

The One Way

on

  • 1,208 views

 

Statistics

Views

Total Views
1,208
Views on SlideShare
1,206
Embed Views
2

Actions

Likes
0
Downloads
5
Comments
0

2 Embeds 2

http://tweetedtimes.com 1
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

The One Way The One Way Presentation Transcript

  • The One Way Daniel Greenfeld
  • http://bit.ly/nFqO57
  • The 13th AphorismThere should be one– and preferably only one –obvious way to do it.
  • What does this mean?• Implementation in core Python should be obvious • Control Structures • Readability • blah blah - remember Raymond’s Talk?
  • What does this mean?• We all follow the same protocols • DB-API • WSGI • Compression • blah blah - remember Raymond’s Talk?
  • How far does this carry?
  • How far does Python’s “The is one obvious way to do it” carry?(1 PIL vs many? 1 framework to use? 1 NLTK?)
  • How far does Python’s “The is one obvious way to do it” carry?(1 PIL vs many? 1 framework to use? 1 NLTK?) I understand “one way” from the idiom’s point of view, not necessarily implementations
  • How far does Python’s “The is one obvious way to do it” carry? (1 PIL vs many? 1 framework to use? 1 NLTK?) I understand “one way” from the idiom’s point of view, not necessarily implementationsThe bigger the problem space the more valid trade-offs there are, so more choices start to make sense.
  • Web Frameworks?
  • Is Zope the obvious way? • Some people think so • Other people do not • Django, Pyramid, Twisted, Flask, et al • Solved problems unsuited to Zope • Attracted a new breed of developer • Django’s culture of documentation
  • Desktop GUI?
  • Is TKinter the obvious way? • Some people think so • Other people do not • wxPython • pyQT • PyGame!
  • Image Processing
  • Is PIL the obvious way? • Scaling • Encoding/decoding • Installation
  • Is PIL the obvious way? • Scaling - the experts complain • Encoding/decoding - the experts complain • Installation
  • Is PIL the obvious way? • Scaling - the experts complain • Encoding/decoding - the experts complain • Installation http://pypi.python.org/pypi/Pillow
  • Is PIL the obvious way? • Scaling - the experts complain • Encoding/decoding - the experts complain • Installation http://pypi.python.org/pypi/Pillow Really?!?
  • Is PIL the obvious way? • Scaling - the experts complain • Encoding/decoding - the experts complain • Installation http://pypi.python.org/pypi/Pillow Really?!? Why do we make Alex Clark do this?
  • To the Radical Zen-ists...
  • http://bit.ly/nFqO57
  • The 9th Aphorism Although practicality beats purity.