Fandom

Scratchpad

GST Coding Conventions

215,811pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Smalltalk by example: Coding conventions


Function and variable naming

Words within function names are split using uppercase letters (String.isString and String.asByteArray). All class and namespace names start with an uppercase letter (class String and namespace Smalltalk). Variables start with a lowecase letter.

Indentation

Although indentation has always been something which was of personal taste to the programmer, if you arn't a programmer yet, you need something. Hopefully this page will be updated according to user comments when needed. For the rest, this is based on personal taste.

Functions

Every function ends with an execute mark (!).


Back to GST by example

Also on Fandom

Random wikia