-
Notifications
You must be signed in to change notification settings - Fork 1
Coding Conventions
lauritzthamsen edited this page Jan 19, 2013
·
2 revisions
Class>>somethingAnswersValue
"a comment"
| y |
true & false not & nil isNil ifFalse: [self halt].
#($a #a ‘a’ 1 1.0) do: [:each |
Transcript
show: (each class name);
show: (each printString);
show: ‘ ‘].
self isActive whileTrue:
[self
compute;
indicateProgress: [Transcript show: '.']].
(1 == 1) ifTrue:
[Transcript
show: 'Blaaaa';
show: 'Muhhhh'].
^ x < y
Class>>doSomething
self clearStream.
self
onStream: self stream
of: self content.
self printStream: self stream.
Inspired by:
- Smalltalk With Style by Edward Klimas, Suzanne Skublics and David A. Thomas.