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)
1. what is the point of having 3 or 4 different types of punctuation and capitalisation 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.
All arguments are named keyword arguments (like in Python and OCaml). You can use abbreviated versions, e. g. int shitfunc(int dick = 0, int shits, int pumpkins = 3) which can be called like int a = shitfunc(d=0, s=1, p=10)
Name:
Anonymous2014-10-31 18:14
>>1 1. You are right. Even in Racket, I use only the round braces. Clojure is fucking non-Lisp piece of shit, by the way, because of its ugly and unusable parenthetical zoo. 2. Already available. E.g. in Racket you can name your function |hax anus|. You're right about case sensitivity though. It's one of the biggest things I hate about Linux. And you're right about Haskell too. I wish Racket was case-insensitive. It's probably possible to do with some renaming transformers, too.
Name:
Anonymous2014-10-31 19:57
>>9 2. But typing |some function| is fucking tedious. When I proposed true multi-word identifiers, I wanted to make typing readable identifiers with less effort (no shift pressing and no underscores).
>>10 Then how can you tell if (+ x y) isn't a call to the function + x or a call to the function + x y? Whitespace is too valuable to waste it in function names.
Name:
Anonymous2014-11-01 7:36
In 1976, still back in the USSR, I got a very serious case of food poisoning from eating raw fish. While in the hospital, in the state of delirium, I suddenly realized that the ability to add numbers in parallel depends on the fact that addition is associative. (So, putting it simply, STL is the result of a bacterial infection.)
Name:
Anonymous2014-11-01 7:51
>>14 Then systemd is probably the result of a Veneric disease because it spreads so fucking quickly. Mac OS is the result of AIDS - ostensibly full of shit, but actually not very dangerous as it spreads only among gays.
Name:
Anonymous2014-11-08 16:24
I would fucking forbid octal. Leading zero octal literals are fucking nasty and treacherous shits.
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).
>>21 Have an idea, structures such as keyvalues and lists can be implemented as functions that yield a desired element on application to a key (or set of keys). Since in a good language structures are locally immutable, linear types or otherwise, you can avoid implementing code that modifies them in place.
>>22 While checking your dubs I realized that I want to play an artillery game which features ammunition that leaps upon hitting flat ground. Any suggestions? Or should we write our own /prog/ one, perhaps in Symta or BBCode?
Even Haskell and SML don't require that shit. Go back to Algol and its clones, faggot.
Name:
Anonymous2014-11-09 20:13
>>26 While I do too consider parens around arguments in function application pig disgusting, to me having it and multiword identifiers beats not having MWI and no PD parens. I. e. I would prefer Haskell to have parens and MWI to the current unsafeThrowOSRuntimeErrorIfNot1.
Name:
Anonymous2014-11-09 20:24
>>27 The thing is, even if you put parentheses around arguments, you still have to separate them with spaces. And if there are spaces in the function name and between the arguments, they get visually confusing. The current scheme is more function-centric: make the function tight and monolith, and the arguments shall cluster behind it loosely. See, in functional programming functions should be the elite, and all the rest should be their servants.
Name:
Anonymous2014-11-10 1:24
|this notation| came from common lisp which predates racket.