[Pharo-project] Cannot assign a parameter

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Sun Nov 28 15:49:41 CET 2010


On 28.11.2010 15:36, Adrian Lienhard wrote:
> I'll also note that this topic was discussed before and some people argued that argument assignments can lead to bad code quality...
+1 to that, your example of allowing nil to a method expecting something 
else as a prime example.
Good luck debugging THAT (and figuring out it is indeed the cause) if 
nil is passed erroneously :)

Cheers,
Henry




More information about the Pharo-project mailing list