Earlier quoted context omitted.
This is the first time I see someone seriously dismiss, and choose, a programming language based solely on its syntax. Also the first time I see one to pretend Haskell makes it more difficult to express oneself because of the syntax. Surely, you were talking about the comments syntax. They really make it horrible to express anything.
I choose every language I use based on the expressiveness of the syntax. What other reason is there to choose a language?
Why is Haskell used so little in the industry?
21–30 of 36 posts
Re: Why is Haskell used so little in the industry?
#22I don't mean to be cruel, but Haskell is simply not a good language for 2012. It feels like I'm programming for 1983, with the poor syntax and silly idioms. There's a reason that eight out of the ten top programming languages in use today are C or C descendants - C is a great language to read and write, and for 90% of programming tasks (and 99.9% of business programming tasks), how easy it is for the programmer to co…
C and C descendants happen to be the primary reason we have not really moved forward any further than where we are right now. To build a mildly succesful C application, you needs lots and lots of code. The question is: Does it necessarily have to be so? Haskell as a language is far more advanced and your "feel" might actually be right: You are now programming in the 80'es rather than the 70'es which most C-descendant…
Re: Why is Haskell used so little in the industry?
#23Earlier quoted context omitted.
There's a lot of hand-waving here. Do you realize that C syntax predates 1983? Can you explain what it is about Haskell syntax that irks you? Can you provide examples of silly idioms?
The C syntax predates 1983, but it works. Haskell's operators are wonk: [0,1,2,3]!!2 versus: [0,1,2,3][2] Clearly !! is a logical array indexing operator.
I'm pretty sure that it has an "odd" shape, because indexing a list in Haskell is potentially O(n). The operator itself is essentially a warning...
Re: Why is Haskell used so little in the industry?
#24I don't mean to be cruel, but Haskell is simply not a good language for 2012. It feels like I'm programming for 1983, with the poor syntax and silly idioms. There's a reason that eight out of the ten top programming languages in use today are C or C descendants - C is a great language to read and write, and for 90% of programming tasks (and 99.9% of business programming tasks), how easy it is for the programmer to co…
This is the first time I see someone seriously dismiss, and choose, a programming language based solely on its syntax. Also the first time I see one to pretend Haskell makes it more difficult to express oneself because of the syntax. Surely, you were talking about the comments syntax. They really make it horrible to express anything.
You've never read a Lisp thread with non-Lispers, have you? :-) The amount of whining about parentheses is incredible.
Re: Why is Haskell used so little in the industry?
#25Earlier quoted context omitted.
I choose every language I use based on the expressiveness of the syntax. What other reason is there to choose a language?
Semantics.
Most languages today offer the same semantics - first class functions, objects, namespacing. Apart from that core, there isn't really a huge variance except for fringe languages that, generally, have severe syntactical limitations as a result.
Re: Why is Haskell used so little in the industry?
#26Earlier quoted context omitted.
This is the first time I see someone seriously dismiss, and choose, a programming language based solely on its syntax. Also the first time I see one to pretend Haskell makes it more difficult to express oneself because of the syntax. Surely, you were talking about the comments syntax. They really make it horrible to express anything.
I choose every language I use based on the expressiveness of the syntax. What other reason is there to choose a language?
Some even says that the number of programmers available on the market for a language is important. I don't think it is a good reason but a related one is: your existing user base is composed of companies and consultancies with their own programmers; you can't abruptly choose a different programming language than the one they know.
Re: Why is Haskell used so little in the industry?
#27Earlier quoted context omitted.
This is the first time I see someone seriously dismiss, and choose, a programming language based solely on its syntax. Also the first time I see one to pretend Haskell makes it more difficult to express oneself because of the syntax. Surely, you were talking about the comments syntax. They really make it horrible to express anything.
> This is the first time I see someone seriously dismiss, and choose, a programming language based solely on its syntax. You've never read a Lisp thread with non-Lispers, have you? :-) The amount of whining about parentheses is incredible .
If WordPress was written in Lisp, I'm sure many more people would use it. It's sort of a chicken and egg problem, I guess.
Re: Why is Haskell used so little in the industry?
#28Earlier quoted context omitted.
I choose every language I use based on the expressiveness of the syntax. What other reason is there to choose a language?
Usually, expressivity in a programming language is not really a matter of syntactic constructs but a matter of semantic constructs. But choosing a programming language involves much more than semantic (or syntax). Depending on the situation, community, compilers and tools, libraries, consultancy houses, documentation and books, are all reasons to choose or not a language. Some even says that the number of programmers…
I agree with you about the 'platform' of a language, though. That's one of those things that you can't get away from.
Re: Why is Haskell used so little in the industry?
#29Earlier quoted context omitted.
You can define your own operator, if you want to. There are legitimate gripes you can have about Haskell syntax, but this is just trolling.
Calling someone a troll because they disagree with you is pretty offensive. And I don't want to define my own operator. I can define my own words in English as well, but I'd rather use the same words everyone else is using so it will be easier to communicate with them. If Haskell were as great of a language as you say, it would be more popular.
> I'd rather use the same words everyone else is using so it will be easier to communicate with them.
Would you be happier if C was the only language, and everyone just had to use C?
> If Haskell were as great of a language as you say, it would be more popular.
This is completely non sequitur. Popularity has little to do with the advantages offered by a language. At one time, C was not so popular.
Re: Why is Haskell used so little in the industry?
#30Earlier quoted context omitted.
Calling someone a troll because they disagree with you is pretty offensive. And I don't want to define my own operator. I can define my own words in English as well, but I'd rather use the same words everyone else is using so it will be easier to communicate with them. If Haskell were as great of a language as you say, it would be more popular.
What you're saying is that you don't like Haskell's syntax because it's not C's syntax. The unfamiliarity card is not a legitimate card in the game of criticism. > I'd rather use the same words everyone else is using so it will be easier to communicate with them. Would you be happier if C was the only language, and everyone just had to use C? > If Haskell were as great of a language as you say, it would be more popul…
I like C's syntax, but I also like Lisp's and Scala's and SQL's.
> Would you be happier if C was the only language, and everyone just had to use C?
If C were as powerful as a modern programming language (JavaScript) and had the standardization of a libraries that Perl or PHP has, then I'd be okay with writing C. The only reason I don't is because C has been improved upon. Haskell is a step back.
> This is completely non sequitur.
Of course it isn't. Popularity has a huge amount to do with the advantages offered by a language. If a language was crap, no one would use it.
At one time, C was not very popular, but in the last 20 years almost all of the most popular languages, year after year, have been C or its descendants.