[racket] Style guide and inner definitions

From: Roman Klochkov (kalimehtar at mail.ru)
Date: Thu Jun 26 23:12:58 EDT 2014

Racket Style Guide
http://www.ccs.neu.edu/home/matthias/Style/style/Units_of_Code.html
in section 3.2 recommends to use functions below 66 lines.

But usually fuinctions are like this:

(define (process-elements elements)
     ....
     (define (process-one ...) ...)
     (define (check-element ...) ...))

 So, 66 lines limit should be applied to whole process-elements with all inner functions or to main body of process-elemets and to every process-one, check-element (in this case total length of process-elements would be 198 lines)?

-- 
Roman Klochkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140627/02147a6d/attachment.html>

Posted on the users mailing list.