19
Why Smalltalk? I made up the term “object- oriented,” and I can tell you I did not have C++ in mind. – Alan Kay

Squeak & Pharo @ NYC Smalltalk

Embed Size (px)

DESCRIPTION

This was a talk given on 9/22/2010

Citation preview

Why Smalltalk?

I made up the term “object-oriented,” and I can tell you I did not have C++ in mind.

– Alan Kay

Live environment

• code spread around files e.g. Ruby• Includes external and system code

http://frank.itlab.us/photo_essays/wrapper.php?dec_27_2006_bridge.html

Turtles all the way down

• System objects are accessible!– Fix it yourself– Understand how things work– See how the masters code

William Warby http://www.flickr.com/photos/26782864@N00/2499825928/

Simple

A Library of C++ Gotcha Books

VS.

Everything is right in front of you

1. One tutorial2. One style guide

No mental context switching at the system level

Mac OS X Cocoa “Fundamentals”

VS

Live objects

No mental context switching at the language level

VS

C++ Libraries

Sending Messages to objects

Documentation

• Ideally part of the system itself• Squeak/Pharo – still a work in progress

Why Squeak/Pharo?

License

• “Do what you want, just please don’t sue us” (MIT, paraphrased)

http://www.flickr.com/photos/knile/2775149207/sizes/o/

Really turtles all the way down

• to the operating system out of the box• can extend down to the metal e.g. SqueakNOS

An operating system is a collection of things that don't fit into a language. There shouldn't be one.

- Dan Ingalls

Community• IRC - #pharo-project and #squeak @ irc.freenode.net

• Mailing lists @ http://forum.world.st/

Projects

• Seaside Web Framework• Mars – native widgets• Helvetia – embedded languages• Etoys – programming for kids• Open Cobalt– Collaborative 3D worlds

Common Misconceptions

• Why can’t I use [Emacs | VI]?!

• Where are all my files?!

• Why doesn’t Squeak/Pharo do X, damn it!?!?

Cool Tools

• Changes file – take that, Time Machine• Method Names• Method Finder

Loading Code

• Tools– Loaders: Installer/Gofer– Management: Monticello/Metacello

• Locations– Squeak Source http://www.squeaksource.com/– Squeak Map http://map.squeak.org/

• Other confusing items - Universes

Fathers of Modern Computing

• Alan Kay

• Doug Engelbart

References• Books– Squeak By Example (free)– Pharo By Example (free)– Smalltalk Best Practice Patterns

• Websites– World of Smalltalk @ http://www.world.st/– Pharo @ http://pharo-project.org/home– Squeak @ http://www.squeak.org/

• Screencasts – http://pharocasts.blogspot.com/

Thank you!

Sean DeNigrisClipper Adams, Inc.Email: [email protected]: www.clipperadams.com

The real romance is out ahead and yet to come. The computer revolution hasn't started yet. Don't be misled by the enormous flow of money into bad de-facto standards for unsophisticated buyers using poor adaptations of incomplete ideas.

- Alan Kay