Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a-b desugars to aB instead of a - b #238

Closed
markussieber opened this issue Mar 13, 2014 · 5 comments
Closed

a-b desugars to aB instead of a - b #238

markussieber opened this issue Mar 13, 2014 · 5 comments
Labels

Comments

@markussieber
Copy link

are you serious about this?

in my opinion a-b should be a - b. Which other language translates this to aB like current coco?!

what exactly is your reason for allowing is-array when the underlying function is isArray? the developer should write isArray and nothing else...

@vendethiel
Copy link
Contributor

#137. Other languages have spinal-cased identifiers (like lisp, perl 6, etc)

@michaelficarra
Copy link
Contributor

@markussieber: Wow, that's a very authoritarian take on programming language design you have there.

@vendethiel
Copy link
Contributor

Don't feed the troll :p

@satyr
Copy link
Owner

satyr commented Mar 13, 2014

(like lisp, perl 6, etc)

True that it's less of a trap in these languages, e.g.: (- a b) $a-$b

@satyr satyr closed this as completed Mar 13, 2014
@satyr satyr added the question label Mar 13, 2014
@markussieber
Copy link
Author

i dont want to troll, sorry if my complaints looked like it. I see in #137 that you already discussed this feature. I am against it, but that should not matter :)
thanks for coco except this matter i really like the language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants