Re:Why Learn Haskell? (2018)
by the_af on Monday March 01, 2021 @10:01AM
(#26303360)
> Bonus points for a C-inspired syntax rather than an abstract-mathematics-inspired syntax
Out of curiosity, could you give an example of what you find "abstract-mathematics-inspired" of Haskell's syntax? Is it just the one-letter identifiers (which is more standard practice than syntax), the symbols for function names (which remind me of C++'s "<<" and the like) or what?
My own personal opinion is that Haskell's syntax has some pitfalls with indentation, but other than that it's not particularly difficult. It's just not C-like, but that's a separate issue.
Similarly, Lisp-like languages have barely any syntax at all!
Out of curiosity, could you give an example of what you find "abstract-mathematics-inspired" of Haskell's syntax? Is it just the one-letter identifiers (which is more standard practice than syntax), the symbols for function names (which remind me of C++'s "<<" and the like) or what?
My own personal opinion is that Haskell's syntax has some pitfalls with indentation, but other than that it's not particularly difficult. It's just not C-like, but that's a separate issue.
Similarly, Lisp-like languages have barely any syntax at all!