[Pharo-dev] Lowering the pain of newbies

Stephane Ducasse stepharo.self at gmail.com
Thu Aug 17 15:52:38 EDT 2017


Hi guys

my son coded in Pharo 60

testGuessUrlPart

      |dg8|
      dg8 := GameItem new;
                  name: 'Dragon Quest VIII : Journey Of The Cursed King';
                  console: 'PS2'.
       self assert: dg8 guessUrlPart equals:
'dragonquestviiijourneyofthecursedking'

and guess what he broke the system.

We should not accept such kind of behavior.
name: should not change the name of the class.

I do not know the solution but I fear when I will teach 160 students this fall.
We should make sure that Pharo is not a system only for experts!

any idea is welcome

https://pharo.fogbugz.com/f/cases/20322/name-sent-to-a-class-SHOULD-NOT-automatically-rename-and-destroy-the-class

Stef



More information about the Pharo-dev mailing list