From: "Jan E." Date: 2012-06-27T23:32:18+09:00 Subject: Re: Is this good code Hi, masta Blasta wrote in post #1066349: > The conditional dependent 'end' is irritating me a lot. I don't mind mid > method break or return statements, but this just looks obnoxious. I'm > tempted to re-write the whole method to get rid of it. There is no conditional "end". The "end" belongs to a bigger statement (which you left out), and *this* statement is conditional. But this is bad style, anyway. You should use the "unless" modifier only for one line statements like "puts i unless i < 0". If the statement is longer, use the "unless" statement: unless ... ... end -- Posted via http://www.ruby-forum.com/.