Skip to content

MBartsch71/Smalltalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smalltalk

Smalltalk examples and concepts

Smalltalk at a glance

CMap Overview

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 and 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

Screenshot from Squeak

FizzBuzz Output

About

Smalltalk examples and concepts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published