Hi guys, what is the best way to express the following :return (something aMsg) if it is not nil, return somethingElse elsewhere I could stil write: something aMsg ifNil:[^ something aMsg] ifNotNil:[^aNotherResult] but it sounds a little bit weird Regards. Abdelghani
- [Pharo-users] an elegant way to return a result abdelghani ALIDRA
- Re: [Pharo-users] an elegant way to return a ... Peter Uhnák
- Re: [Pharo-users] an elegant way to retur... abdelghani ALIDRA
- Re: [Pharo-users] an elegant way to return a ... Esteban Lorenzano
- Re: [Pharo-users] an elegant way to retur... jtuc...@objektfabrik.de
- Re: [Pharo-users] an elegant way to r... Peter Uhnák
- Re: [Pharo-users] an elegant way ... jtuc...@objektfabrik.de
- Re: [Pharo-users] an elegant... Peter Uhnák
- Re: [Pharo-users] an elegant... Esteban Lorenzano
- Re: [Pharo-users] an ele... jtuc...@objektfabrik.de
- Re: [Pharo-users] an... stepharo