[racket] Why internal definitions?

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Wed Nov 16 01:25:30 EST 2011

Jordan Schatz wrote at 11/15/2011 11:50 PM:
>  From Racket v5.2 release notes:
>    
>> Internal definitions are now considered preferable in style to let.
>>
>>      
[...]
>> Why?

Unlike some other questions of style, there is not unanimous agreement 
on this one.

If you're trying to show someone a simple-looking language, use internal 
"define".

If you're trying to develop complicated code, then disregard the fashion 
police, and do whatever works best with the rest of the style of that 
code.  And be ready to switch, should conditions change or your mind change.

-- 
http://www.neilvandyke.org/


Posted on the users mailing list.