News for hackers. Stuff that matters.
Re:The language of programming by yorwba on Saturday July 08, 2017 @12:46AM (#14724132)
> I don't believe non-textual names have any place in programming. I have used Haskell and it is an unmitigated disaster.

If you are referring to the use of non-alphanumeric symbols, then I wonder whether you believe that calling the monadic bind bind instead of >>= would really make things clearer?

Sure, one of them looks like a word that already exists in English, so it might be marginally easier to remember; but it has nothing to do with the binding you do with a rope, so its familiar appearance is actually misleading.

Personally, I believe you should use names that are already part of your vocabulary (even symbolic ones like +), or combine existing vocabulary items into a description (even mixing English and symbols, as in number->string), or make up your own arbitrary words or symbols, so long as the end result is internally consistent.

Re:The language of programming by DonaldPShimoda on Saturday July 08, 2017 @03:42AM (#14724561)
I think it’s more likely they may have been referring to how it’s considered idiomatic to use extremely terse variable and function names in Haskell (and indeed in most functional languages).
Re:The language of programming by chongli on Saturday July 08, 2017 @06:34AM (#14724916)
This is a habit borrowed from math. It often makes a lot of sense, however. Giving a variable a long name often unnecessarily ascribes intent to the variable. When a variable is generic enough to represent almost anything, giving it a specific name is potentially misleading.