[Q] Newbie - Multiple Return Values
Giovanni Giorgi
jj at objectsroot.com
Fri May 2 21:13:43 UTC 2003
Another dirty solution is to return a dictionary with association like
symbol->obj
I prefer using a class because you can customize its printOn: method
and get a better log too!
On Thursday, May 1, 2003, at 10:43 PM, Stephane Ducasse wrote:
> [...]
>
>> Just my 2 cents...
>>
>> It's rarely overkill to create new class, like NetworkRequestResult.
>>
>> It could contain a status and any accompanying messages. As far as I
>> can
>> tell, the only real overhead in creating another class, is the metal
>> energy to
>> keep track of it...
>>
>> Delbert
>>
>> ---- Original message ----
>>> [...]
>>>
>>>
>
--
[ [ [ JJ ] ] ] | Temi cio' che conosci, non
| cio' che non conosci
http://www.siforge.org |
More information about the Squeak-dev
mailing list
|