Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

A Great Idea

Name: Anonymous 2009-07-28 4:52

Hey /prog/, I just had a great idea. Let's use a double space (space space) as the delimiter between identifiers so we can have identifiers with spaces in them.

An example:
(defun  add to deck  (card  deck)
  (cons  card  deck))

Name: Anonymous 2009-07-28 17:00

>>1
You can have any symbol for an identifier in CL.
And symbols can contain almost any character, if you want to use spaces, you can quote the symbol:


(defun |add to deck| (card deck)
  (cons card deck))

Simple isn't it?

>>6
Nasty. _ is considered bad style in Lisp, use -
- is more readable and easier to type.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List