Link Details

Link 655395 thumbnail
User 225256 avatar

By mswatcher
via dave.fayr.am
Published: Aug 21 2011 / 02:23

Odds are, you don’t use a functional programming language every day. You probably aren’t getting paid to write code in Scala, Haskell, Erlang, F#, or a Lisp Dialect. The vast majority of people in the industry use OO languages like Python, Ruby, Java or C#–and they’re happy with them. Sure, they might occasionally use a “functional feature” like “blocks” now and then, but they aren’t writing functional code.
  • 14
  • 5
  • 3507
  • 30
User 393686 avatar

RawThinkTank replied ago:

-4 votes [show comment] Vote down Vote up Reply
User 902267 avatar

javakata replied ago:

2 votes Vote down Vote up Reply

Dude, for God's sake, stop commenting on things you know nothing about. You've said this about Java as well as a comment to a different article, something along the lines of "I don't use java coz it don't has native multi threading". Now you're saying it about Scala as well basicaly. It's not true, Java and Scala both run on the JVM which uses native threads, this can be easily checked practically and it's in the documentation as well. Stop saying these things, people who know nothing about the things will read your comments and think it's true.

User 352719 avatar

Jonathan Fisher replied ago:

0 votes Vote down Vote up Reply

+1

User 393686 avatar

RawThinkTank replied ago:

-3 votes Vote down Vote up Reply

-10

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

Andrei Bodnarescu, just because you dont hav humility to ask what you dont understand from my comments dontmake them wrong.

User 211643 avatar

zynasis replied ago:

1 votes Vote down Vote up Reply

i never get tired of voting you down

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

oviously it means you are a chuuteeyaa

User 927395 avatar

KirinDave replied ago:

2 votes Vote down Vote up Reply

This is strictly incorrect. Haskell supports both native-backed and real native threads. Erlang's actors execute in the context of real system threads, but its implementation is very carefully designed to make sure you get near-native-thread performance.

Of all the languages, the JVM-backed ones have the least-favorable profiles for concurrency. But calling the JVM bad at concurrency seems to be putting "good" so absurdly far out of reach that almost no one qualifies.

User 338269 avatar

Miloskov replied ago:

2 votes Vote down Vote up Reply

Boring. He recommends FP but I just see a piece of Java code and nothing FP code in haskell or any language to illustrate what he recommends.

User 927395 avatar

KirinDave replied ago:

0 votes Vote down Vote up Reply

The first code example is in Haskell.

User 338269 avatar

Miloskov replied ago:

0 votes Vote down Vote up Reply

Oops sorry true hehe ROFL Haskell looks like pseudo-code, nice.

User 393686 avatar

RawThinkTank replied ago:

-1 votes Vote down Vote up Reply

i am still waiting for multicore FP example by such proponents that can has control over which cores to use and which to not.

User 226303 avatar

devdanke replied ago:

0 votes Vote down Vote up Reply

Assembly programming is hard too. Does that make it good?

User 352719 avatar

Jonathan Fisher replied ago:

3 votes Vote down Vote up Reply

Yes. It's the best, it's simple and it's fast. That's what languages are rated on

User 211643 avatar

zynasis replied ago:

1 votes Vote down Vote up Reply

i would disagree that it's simple...

User 902267 avatar

javakata replied ago:

0 votes Vote down Vote up Reply

Yep, they said the same thing about sooo many things. X yields better results than Y because it's harder to do things in X, and thusly only people who really know what they're doing use X and get better results. This was one of the arguments of the C++ vs Java battles. I even saw it when comparing Java Enterprise to CGI running on UNIX. Nuff said

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

Where is the funcional Assembly language ?

User 927395 avatar

KirinDave replied ago:

0 votes Vote down Vote up Reply

Assembly language already is functional. It's a series of function calls.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java