Re: Short-circuit warning
- Posted by Bernie Ryan <xotron at blu?frog.c?m> May 20, 2008
- 644 views
Jeremy Cowgar wrote: > > Is this warning really valid: > > Warning: ../bin/indent.ex:53 - call to matches() might be short-circuited > > Well, maybe valid, but useful? For instance, I specifically made the if > statement > to short-circuit, that's the way I want it. I program all the time counting > on short circuits and do not really feel as though I need a warning about it. > I thought short-circuits were a benefit? > > -- > Jeremy Cowgar > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a> http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=6&fromYear=1&toMonth=5&toYear=D&postedBy=xotron&keywords=short-circuit Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan