Short-circuit warning
- Posted by Jeremy Cowgar <jeremy at cowg?r.co?> May 20, 2008
- 675 views
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 http://jeremy.cowgar.com