3 ms·
Much of the syntax is similar too: (2 + 4) == 5 ifTrue: [ Transcript show: 'Yay!' ] "Squeak" (2 + 4) == 5 ifTrue: [ 'Yay!' printLine ] "Self"
by russellallen 13y ago
Much of the syntax is similar too:
(2 + 4) == 5 ifTrue: [ Transcript show: 'Yay!' ] "Squeak"
(2 + 4) == 5 ifTrue: [ 'Yay!' printLine ] "Self"
- seanmcdirmid 13y agoC and Java also have a similar syntax. Most of the Self people were Smalltalk people before, so you could see Self as being heavily inspired by Smalltalk in its syntax and image-based persistence. However Squeak is still Smalltalk while Self is a full successor language (you could say Morphic was backported from Self back to Smalltalk).