[Pharo-project] Fun with ProfStef

Dale Henrichs dale.henrichs at gemstone.com
Mon Feb 1 13:22:58 EST 2010


----- "Mariano Martinez Peck" <marianopeck at gmail.com> wrote:

| On Sun, Jan 31, 2010 at 7:04 PM, Dale Henrichs
| <dale.henrichs at gemstone.com>wrote:
| 
| >
| > ----- "laurent laffont" <laurent.laffont at gmail.com> wrote:
| > |
| > | Hi,
| > |
| > | isn't it quite complex ? One can do:
| > | 3 timesRepeat: [ProfStef next].
| > |
| > | Less to type, Smalltalkish, and maybe more fun ?
| > |
| >
| > Laurent,
| >
| > The #goto: style allows one to label a lesson ... #timesRepeat:
| fails if I
| > reorder the lessons.
| >
| > I apologize for using #goto:, but my first language was FORTRAN:)
| >
| >
| Come on Dale!!! It was a joke :)  And I was talking about to go:to: in
| the
| code, which this is not the case. Here the go:to is for lessons :) 
| Maybe
| something like goToLessonNumber: or similar ...
| 
| It was just funny.
| 
| Cheers
| 
Mariano,

I was joking as well:) ... the smile on my face doesn't come across in email!

Nonetheless, it does seem that #lesson: or #gotoLesson: or something in that vein would be a better selector anyway:)

Dale




More information about the Pharo-dev mailing list