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

PL syntax theorizing

Name: Anonymous 2014-10-28 12:57

I'd just like to theorize for a moment.

1. What is the point of having 3 or 4 different braces in your language? In my opinion, if you have to use so much different symbols, your grammar is shit and you must be ashamed. The only valid reason I see for it is to differentiate between literals of different collection types (lists, arrays, dicts, sets etc). However, there is simply no reason to differentiate between operator() for functions and operator[] for collections. Just assume that function cannot be indexed and collection cannot be called.

2. Why can't we have multiword function names? Does getElementsByClassName(x) really more readable than ``get elements by class name (x)''? Also, how come so many languages still use case-sensitive identifiers? I thought case sensitivity was an artifact of olden days where you could not spare computational resources to normalize case of your identifiers. It is an antipattern and it gives you nothing whatsoever. Why keep it, C? Python? Javascript? Haskell? OCaml? (OK Haskell differentiating on first letter is cool, but keeping track of case of the remaining letters is fucking silly)

Name: Anonymous 2014-11-09 9:08

>>18-19
Pig disgusting. Do you really like typing in those "s and |s?
Lose the sex-p notation altogether. It is trivial to convert expressions such as

suck metadick factory(config(param one), param two)

to your beloved application form like

(|suck metadick factory| (getitem 'config |param one|) |param two|)

Lisp has little to do with parsing. Lisp is an approach to evaluation. You can have decent syntax with lisp. Or a shitty language with lispy paren syntax (NewLisp).

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