News for hackers. Stuff that matters.

Why they keep developing Java/C#

I believe the functional languages are taking the field by storm (ocaml, f#, haskell, clojure, scala). and I wonder, why do we need languages like C#, Java for ?
( 12 comments | 2 points | on HN )
Re:Why they keep developing Java/C# by twblalock on Monday June 24, 2013 @09:56PM (#5937016)
I don't know what field these languages are "taking by storm" -- it certainly isn't the field of corporate software development.

Java and C# have the following advantages:

- Familiarity, which means programmers are easy to hire and can finish projects without overcoming a learning curve

- A huge amount of high-quality libraries for almost any task

- Good IDEs and build tools

- The concepts are not exotic. The object-oriented features are now the industry standard.

Nobody wants to spend the time to learn these new languages if they don't offer a significant improvement over Java and C#. Of the ones you listed, Scala is the most likely to succeed because it can interoperate smoothly with Java and offers concurrency features that Java does not. Twitter's successful use of Scala has also contributed to the language's popularity.

Re:Why they keep developing Java/C# by redv on Monday June 24, 2013 @11:40PM (#5937374)
I mean software development in general. About the Advantages: -I see C#/Java copying the functional language features, which isn't supported by default which yields an ugly code, more lines to write. -No one can argue on the amount of the libraries available, but It's more JVM/CLR thing, so you can access it from anywhere -on the concepts not being exotic? well, porting functional language features doesn't really help :) -on the benefit, I believe coding in a functional language is more productive and more expressive, don't you?
Re:Why they keep developing Java/C# by joshuaellinger on Monday June 24, 2013 @10:25PM (#5937124)
I kinda like to be able to write equations that, you know, look like math.

functional programming is just not well suited for that kind of work.

Re:Why they keep developing Java/C# by oskarkv on Wednesday June 26, 2013 @11:14AM (#5946560)
That's your biggest concern?
Re:Why they keep developing Java/C# by redv on Monday June 24, 2013 @11:42PM (#5937379)
well, then why porting its features to those languages ?
Re:Why they keep developing Java/C# by ankurdhama on Tuesday June 25, 2013 @01:15AM (#5937666)
Legacy is a bitch, specially if it is 60 years old imperative programming with object oriented makeup.
Re:Why they keep developing Java/C# by alatkins on Monday June 24, 2013 @09:41PM (#5936966)
Honest question: how much commercial software engineering experience do you have?
Re:Why they keep developing Java/C# by novaleaf on Monday June 24, 2013 @09:50PM (#5936996)
what alatkins is trying to say (i think), is that, depending on your skill set, different tools are easier to use for specific purposes.

That said, I would consider myself an expert C# developer, but unfortunatly needed to move to javascript (nodejs/angular) due to the limited deployment+ecosystem flexibility C# provided. A real pitty, C# and Visual Studio are best-of-breed, and very powerful.

Re:Why they keep developing Java/C# by octopus on Monday June 24, 2013 @09:56PM (#5937019)
Have you tried TypeScript ? I think coming from a C# background TypeScript and his integration with VS will be a breeze.
Re:Why they keep developing Java/C# by novaleaf on Monday June 24, 2013 @10:12PM (#5937074)
that's exactly how i got started :)

in hindsight, typescript was the ideal way for me to migrate from C# to Javascript. now I can write "pure" javascript without typescript holding my hands, but i do greatly prefer having typescript around!

the only drawbacks of typescript (visual studio) I see right now is lack of debugging support for nodejs, and lack of angularjs intelisence (webstorm supports that well)

Re:Why they keep developing Java/C# by goofygrin on Monday June 24, 2013 @10:41PM (#5937195)
Doesn't 2012.2 and the web developer add on really improve intellisense for js libs (among many other things)?

I'm a C# dev... and it feels a lot like going back in time working with other toolchains sometimes (especially on the SQL side of things).

Re:Why they keep developing Java/C# by redv on Monday June 24, 2013 @11:45PM (#5937390)
I used to develop software using C#/Java back in 2003 :) and I've been using functional languages for a few years now, and never looked back.