[Newbies] editing an instance variable in an OrderedCollection

sergio_101 sergiolist at village-buzz.com
Sat Mar 6 18:16:42 UTC 2010


> BTW, it is better to use full words for your method and variable names
> -- they are much easier to guess.
>

yes.. i first used description, but i saw that it was overriding
another method, so i thought i might play it safe..


> I don't know about the context where you want to use this, but maybe
> it is a good idea to separate it into two statements:
>
> album := Album repository at: 7.
> album description: 'this is a good album'.
>

that was what i initially thought.. but i wasn't sure it it was saving
me anything by putting them together...

thanks!



-- 

----
peace,
sergio
photographer, journalist, visionary

http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the Beginners mailing list