Smalltalk

Description

Smalltalk examples and concepts

Details

Source
GitHub
Created
Sept. 5, 2020
Updated
Sept. 8, 2020

Categories

Education / Howto

README excerpt

# Smalltalk

Smalltalk examples and concepts

## Smalltalk at a glance

[CMap Overview](cmaps/Smalltalk.pdf)

## The FizzBuzz sample

#### Description

The FizzBuzz solution contains of 3 files. Best viewed in RAW mode.

- FizzBuzz.st
- FizzBuzzChecker.st
- FizzBuzzRunner.st

After FileIn the source code to a Smalltalk image, the output can be started with the following command:

    FizzBuzzRunner new start: <startvalue> end: <endvalue>

Replace the placeholder <startvalue> and <endvalue> with your values of choice.

Example:

    FizzBuzzRunner new start: 1 end: 30

#### Class-Diagram

The relations between the different objects, I tried to illustrate as follows.

![FizzBUzz UML](UML/FizzBuzzUML.png)

#### Screenshot from Squeak

![FizzBuzz Output](pictures/Squeak_screenshot.png)
← Back to results