Thursday, December 10, 2009

The Smalltalk way to learn Smalltalk

Pour apprendre un nouveau langage, avant de me jeter sur le compilateur / interpréteur et tenter d'écrire un (mauvais) programme, j'achète un ou deux livres bien perçus pour m'imprégner de la philosophie et objectifs du langage. Je lis quelques programmes.

Pour Smalltalk je crois avoir commis une erreur et j'ai mis du temps à tout simplement "rentrer dedans", bien plus que tous les langages profondément objets étudiés auparavant (dont Ruby ).

I'm still amazed by how many people think they can grok Smalltalk by seeing syntax examples. Smalltalk isn't its syntax, it's its environment. Smalltalk is a living world of running objects, there are no files, no applications, just what's running. To understand Smalltalk, you have to either actually use it for a while, or have a seasoned Smalltalker demonstrate it to you. Reading sample code just won't cut it.
(Ramon Leon, Why Smalltalk)

C'est un vrai conseil ;)

Et je comprends maintenant ceci: Object oriented programming means something entirely different to a Smalltalker than to someone doing OO in another language.

Au passage, le blog de Ramon Leon OnSmalltalk est une vrai mine d'or, articles complets, bien écrits, profonds et les commentaires n'en valent pas moins.

No comments:

Post a Comment