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:41

>>44
I'd want to fix up the names of standard functions as well. There's not much point to only doing my own function names. Also, your suggestion requires ugly “||”, which also require extra work to type and require backtracking if you forget to begin with them.

>>45
No, I mean a language where '-' is an operator and can be between two identifiers without mandatory whitespace.
So... a language with insane tokenizing rules. Don't make the stupid assumption that being an operator (and having a precedence) means you don't need space around it. Everybody always says that it's best to put spaces around arithmetic operators. It's best to require spaces to enable something people actually want to do (flexible names) rather than not requiring them so you can write in a style everyone agrees is bad.

>>45
Using such a keyboard, using dash or underscore takes the same effort.
Except for the part where it takes a whole extra key to type “_”?

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