• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question for Venkat  RSS feed

 
Silviu Burcea
Ranch Hand
Posts: 61
1
IntelliJ IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Venkat,

FP in Java, useless trend or Java is back in business?
 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java was never out of business.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Arjun is right. Java is still the most popular.
http://blog.codeeval.com/codeevalblog/2014#.VOLpT_nfOjE
 
Quazi Irfan
Ranch Hand
Posts: 87
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Java was never out of business, but why SUN Microsystem was forced to put it up for sale?

As far as I know SUN wasn't able to strategically monetize their resources. But it doesn't make sense if Java was always a dominant force...
 
Campbell Ritchie
Sheriff
Posts: 53779
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quazi Irfan wrote: . . . SUN Microsystem was forced to put it up for sale? . . .
Sun didn't put Java® up for sale. The whole company were bought by Oracle.
 
Venkat Subramaniam
Author
Ranch Hand
Posts: 109
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Silviu,

No, not a useless trend. Almost every mainstream language now have support for lambda. C++11 has support, C# has it for a while,
it was really inevitable that Java would follow that trend.

So many applications are still being developed in Java. With Java's support for functional style, now those of us evolving and maintaining those systems have
better set of tools on our hands.

Overall I see this as highly positive and am very glad to see the things I am seeing in Java these days.

Venkat
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, lambdas blocks that throw Checked Exceptions do not fit very well into the FP paradigm.
 
Venkat Subramaniam
Author
Ranch Hand
Posts: 109
5
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pho Tek wrote:However, lambdas blocks that throw Checked Exceptions do not fit very well into the FP paradigm.


Code that throws exception in general does not fit nicely into FP, that's why truly functional languages have other control mechanisms (monads) to deal with exceptions.

Having said that, checked exceptions borderline anti patterns in Java for many reasons and that, unfortunately, will continue to haunt us in the future.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!