On Fri, Jun 16, 2006 at 11:19:14AM +1000, O Plameras wrote:
> "unless" means "exclude"
> "$stdin.eof" means "standard-input is end-of-line".
> 
> So, it means "exclude when standard-input is end-of-line" as
> stated in last sentence of previous post. Tutorials I've been
> through use this.
> 
> Matt has pointed out this is now redundant but no harm
> saying. No errors/warnings are generated by my Ruby interpreter.

It increases complexity, and unnecessary code will also confuse in the
future since a programmer will look at that and think "I think that's
unnecessary, but perhaps there's something special this time that needs it".

- Matt
_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to