[squeak-dev] Re: compiler whitewash

Marcel Taeumel marcel.taeumel at student.hpi.uni-potsdam.de
Thu Oct 23 18:02:14 UTC 2014


In this code example, the programmer was aware if the nil-case, which is the
same as uninitialized. I find it sometimes strange to have to write "x :=
nil." in an algorithm just to get rid of this message.

In other cases, this warning is fine. :) Maybe there are some patterns that
indicate that "not initialized" is totally fine. Maybe it is just the case
when #ifNil: is explicitely found in the code.

Best,
Marcel



--
View this message in context: http://forum.world.st/compiler-whitewash-tp4785831p4786263.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list