[racket] #lang racket vs. racket/base

From: Manfred Lotz (manfred.lotz at arcor.de)
Date: Wed Feb 12 00:02:30 EST 2014

I just read Neil van Dyke's statement:

< "#lang racket" is for demos, IMHO; I *always* use "#lang racket/base" 
< for any code that's not a demo.

Question: What are the advantages of doing requires explicitly?

In a program of mine I changed #lang racket to #lang racket/base and

(require racket/cmdline)
(require racket/string)
(require racket/format)
(require racket/port)
(require racket/path)
(require racket/list)

The resulting executable (created by raco exe...) had the same size.
Besides of transparency what are the advantages?


Posted on the users mailing list.