Monday, August 08, 2011

Why I love Smalltalk | Pablo's blog

Why I love Smalltalk | Pablo's blog: "10 timesRepeat: [
Transcript show: 'Hello world'
]
There you can start to see how Smalltalk is special. I’m sending the message timesRepeat: to the object 10, an Integer. Doing something N times repeatedly is handled by the Integer class, which if you think about it, makes sense."