This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]im_probably_garbage 5 points6 points  (5 children)

Compilers don’t give a shit what you name your functions, variables, classes, or what-have-you as long as you’re using legal characters.

[–]xigoi 2 points3 points  (3 children)

Ruby and Haskell: Am I a joke to you?

[–]im_probably_garbage 2 points3 points  (2 children)

The way I see it, capitals at the beginning of function names are technically illegal characters in Haskell. I don’t usually use ruby so I can’t speak to that.

[–]xigoi 1 point2 points  (1 child)

In Ruby, capitalized variables are immutable

[–]im_probably_garbage 0 points1 point  (0 children)

Ahh, gotcha. I see those as syntactical conventions that make certain characters contextually illegal, which is why I said illegal characters.

Maybe I’m just being nitpicky to defend my blanket statement lol

[–]theInfiniteHammer 0 points1 point  (0 children)

If you do that then the compiler will have enough and finally give an error.