Skip to content

Instantly share code, notes, and snippets.

@andrea9292
Last active July 2, 2020 11:37
Show Gist options
  • Save andrea9292/c413a607329c52ee1ef8b481106a9f95 to your computer and use it in GitHub Desktop.
Save andrea9292/c413a607329c52ee1ef8b481106a9f95 to your computer and use it in GitHub Desktop.
Smalltalk's array manipulating
| data |
data := Array new: 10.
"do something..."
data do: [ :each |
Transcript print: each; cr ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment