[racket] syntax, differently

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Aug 1 13:57:54 EDT 2010

On Aug 1, 2010, at 12:34 AM, Mathew Kurian wrote:

1. Your comments are appreciated. Thank you. 


> Because some of the code can get very long (unlike some other languages),

What do you mean with that? When I have students write large programs, my Racket programs are routinely a factor of 3 or more shorter than those of the best of my students (5Kloc in Racket vs 15Kloc in Java or C# or C++), tend to perform more tasks, and are more stable. 

> it is important for students to be able to keep the code very neat,

That is true in all languages, period. 


> Since drracket ... compiles one line after another, ...

DrRacket does not compile line by line. Indeed, lines have nothing to do with compilation. Please take  a look at HtDP's extended exercises on interpreting Scheme. That'll give you an idea of what compilation is and why lines are irrelevant. 

-- Matthias

Posted on the users mailing list.