Object-Oriented Programming Basics with Smalltalk

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Object-Oriented Programming Basics with Smalltalk

Presented at CodeMash 2016

Larry Staton Jr.

January 07, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

40 slides
  1. @statonjr OOP Basics with Smalltalk To eval a program list,

    control is passed to the first object and the remainder is treated as its message
  2. GENERALLY, WE DON'T WANT THE PROGRAMMER TO BE MESSING AROUND

    WITH STATE, WHETHER SIMULATED OR NOT. Alan Kay THE EARLY HISTORY OF SMALLTALK
  3. @statonjr OOP Basics with Smalltalk Class Instance Class Methods Class

    Variables Instance Methods Instance Variables Instance Methods Instance Variables
  4. @statonjr OOP Basics with Smalltalk SMALLTALK SYNTAX Tokens: Identifiers, Numbers,

    ‘Strings’, “Comments”, Binary Operators, Keywords, Special Tokens
  5. @statonjr OOP Basics with Smalltalk SMALLTALK SYNTAX Special Tokens: #:^’|”;()[]

    Tokens: Identifiers, Numbers, ‘Strings’, “Comments”, Binary Operators, Keywords, Special Tokens
  6. @statonjr OOP Basics with Smalltalk SMALLTALK SYNTAX Special Tokens: #:^’|”;()[]

    Tokens: Identifiers, Numbers, ‘Strings’, “Comments”, Binary Operators, Keywords, Special Tokens Reserved Words: nil false true self super
  7. @statonjr OOP Basics with Smalltalk SMALLTALK SYNTAX Special Tokens: #:^’|”;()[]

    Tokens: Identifiers, Numbers, ‘Strings’, “Comments”, Binary Operators, Keywords, Special Tokens Reserved Words: nil false true self super Syntactic Forms: Unary messages, Binary messages, Keyword messages, Block closures, Return Value, Method definition, Assignment, Cascade
  8. @statonjr OOP Basics with Smalltalk RESOURCES http://pharo.org http://pharobyexample.org Smalltalk-80: The

    Language and Its Implementation http://files.pharo.org/books/ ProfStef go

More Decks by Larry Staton Jr.

Other Decks in Programming