[racket] Racket style guide (was Re: Argument order conventions (was: Variable naming conventions))

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Sep 23 18:21:28 EDT 2011

On Sep 23, 2011, at 6:15 PM, Greg Hendershott wrote:

> This reminded me of advice on this list: Use a struct instead of
> `values', to return from a function more than maybe 2 or 3 items. That
> might be good to add to the guide, too?


Depends on the situation. 

Even the struct over list advice is partial and I won't always 
do so, especially when I know that the data is entirely local 
to a module. Lists are just so convenient (have tons of functions). 

-- Matthias



Posted on the users mailing list.