From: Ryan Davis Date: 2012-09-05T05:27:41+09:00 Subject: Re: best coding for limiting a value On Sep 4, 2012, at 13:24 , Panagiotis Atmatzidis wrote: > In the book the "Art of readable code" by Dustin Boswell &Trevor Foucher the reader will certainly choose the (B) as it's easier to read immediately by a 3rd party. > > If you have many questions like this one, you should really read a book like this one. I disagree. I have to look at the code in B and reason about it. With C, I don't. It becomes obvious what it wants. In ruby, I generally find the shortest solution (with the least amount of syntax and normal whitespace--not golfing) is the clearest and therefore the best.