[racket] Looking for feedback on code style

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Thu Sep 9 23:03:48 EDT 2010

>>> [...] As for the structure of the code as given, I would use helper 
>>> functions in place of the `let'.  The resulting code will be easier 
>>> to read and the helper functions can be tested independently, [...]
>> Sounds like an overkill in this case, and for most values of 
>> "idiomatic" I'd say that it'd make it less so.
[...code elided...]

Seems slightly overkill to me, too.  Or, at least not the norm in the 
Scheme code I've seen that I considered good.

But, most importantly, I didn't see test cases for "median-sorted" and 
"mean".  Live by the sword... :)


Posted on the users mailing list.