After I realized preferring `define' to `let' apparently hadn't sunk in sufficiently the first time I read the guide (other thread here), I went re-read section 4. :)
Section 4.5, "Structs vs Lists", advises, "Use structs when you represent a combination of a small and fixed number of values." 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? On Wed, Sep 14, 2011 at 8:47 PM, Matthias Felleisen <matth...@ccs.neu.edu> wrote: > > > For the past few months, I have been writing a style guide for new Racket > PLTers. The current draft is available at > > http://www.ccs.neu.edu/home/matthias/Style/style/ > > I had hoped to complete it a bit more and polish it a bit more, but this > discussion suggests that people might be interested in reading it and > commenting on it. > > -- Matthias > > > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users