3 ms·
1. You can not really juge the source code of a language if you don't the language. Reading alot of functional code is almost always easier then OO code because
by nickik 16y ago
1. You can not really juge the source code of a language if you don't the language. Reading alot of functional code is almost always easier then OO code because of pure functions. Look at this video for example at the videos witch can be found here http://www.janestcapital.com/technology/ocaml.php http://www.janestcapital.com/technology/ocaml.php
2. The learning curve of those languages is not bigger then the learning curve of other languages. Time time I spend with making pretty OO designs in school was way bigger then the time it took me to learn clojure and FP in general but this of course is a issue we can not solve. I just don't like it if people say something as if it is a fact.
3. Is it more convenient to do this
array.select &:even?
better then
(filter even? array)
The later seams more intuitive to me and I didn't have to learn more syntax.
4. In Lisp not every DSL looks like Lisp.
- foljs 16y ago"The learning curve of those languages is not bigger then the learning curve of other languages." If only it wasn't for the fact that reality and history has proven otherwise...
- masklinn 16y agoAny source for that utterly outlandish claim?
- foljs 16y agoUtterly outlandish? Please. The only proof we have of something being easier to learn, beside anecdotal evidence ("oh, I tried it and it was easy") is statistical empirical evidence, i.e people actually learning it. Well, people are not actually learning those languages. They are learning the "other ones". (Where by people, I mean: a significant percentage of people, > 1%. I'm sure me, you and that "professional programmer who gives a shit about Haskell" do not a significant percentage make). Even in universities, students find functional languages difficult, and opt-out of those classes.
- nickik 16y agoThe Homecomputer on witch most programmer learned where to slow for functional languages of that time. So FP could only be used in specialized domains. Most programmers went form basic (lack of alternative) to C then C++ and now Java thats a path of simularity. Most where never exposed to functional programming and now the all have a hard time to switching there OO brain off.