[racket] syntax, differently
On Jul 31, 2010, at 11:19 AM, Robby Findler wrote:
> On Sat, Jul 31, 2010 at 10:00 AM, Matthias Felleisen
> <matthias at ccs.neu.edu> wrote:
>>
>> Shriram's proposal and a private conversation with Mike suggested the following feature requests for the drracket teaching languages:
>>
>> 1. Could drracket limit the width of programs in the teaching language world to 80 columns?
>
> This one seems doable (I'd probably make the text turn red when it
> passes the 80th column or somethign instead of rejecting keystrokes).
I wouldn't reject keystrokes, I'd just act as if the student had typed return.
>> 2. Could drracket reindent all every time a programmer hits {return | run | submission server request }?
>
> I'd be worried about this that some edits one does (maybe opening a
> string?) would cause strange things to happen to the editor based on
> intermediate states of the program.
I'd be happy with shifting everything on RUN and SUBMIT. At that point the student thinks that the program is complete.