[plt-scheme] minor suggestion/questions for tutorial on plt-webserver

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Wed Aug 26 13:19:45 EDT 2009

> 1) Since make-??? is automatically defined for structs, is considered a good
> Scheme practice not to use the make prefix for anything other than structs?

I prefer to use CREATE-.  That way, I can even have a MAKE- and
CREATE- for the same structure, where the CREATE- enforces certain
invariants, fills in optional arguments, tracks the creation, etc.,
before passing the arguments on to MAKE-.  So for me, MAKE- is always
"raw", while CREATE- implies a layer of interpolation (checking,
augmenting, recording, etc).

Shriram


Posted on the users mailing list.