RE: [Newbies] Should all methods return a value?

2006-05-09 Thread Ron Teitelbaum
From: Charles D Hixson Sent: Tuesday, May 09, 2006 1:16 AM I know that in some languages this matters, and in others it doesn't. If a method doesn't explicitly have a return value it will return self, but you should never count on that, small changes to the method will have a tendency to

Re: [Newbies] Should all methods return a value?

2006-05-09 Thread Charles D Hixson
Yoshiki Ohshima wrote: Charles, Todd Blanchard wrote: The rule is, if you don't return a value, then self is returned. There's no such thing as a void message like in C++ or Java. Tell me what you want to do and I'll see if I can scare up some examples. On May 8, 2006, at

Re: [Newbies] Should all methods return a value?

2006-05-08 Thread Todd Blanchard
The rule is, if you don't return a value, then self is returned. There's no such thing as a void message like in C++ or Java. Tell me what you want to do and I'll see if I can scare up some examples. On May 8, 2006, at 10:16 PM, Charles D Hixson wrote: I know that in some languages this