From: Josh Cheek Date: 2009-10-02T10:27:19+09:00 Subject: Re: how do you do this --000e0cd229642840dd0474e9aacf Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 1, 2009 at 6:38 PM, Ryan Davis wrote: > > Your version isn't maintainable, has bugs(*) and obfuscates a ton, missing > my point entirely. Simpler code wins HANDS DOWN. As I said the first time: > "I think the readability is more important than speed by a long shot". > Perhaps, but it is simpler because it is too specific to to the given problem. Once it must be rewritten in several different places, it is no longer more maintainable. It will also clutter the code, making it less readable. *) calling sort! within a law of demeter violation is ALWAYS a bug. > That is fair. > *) calling (almost) any bang method on a temporary value is usually a bug. > Why is that? --000e0cd229642840dd0474e9aacf--