Live data from Hacker News

About PayPal's Node vs Java “fight”

developer-blog.cloudbees.com

91–100 of 216 posts

Re: About PayPal's Node vs Java “fight”

#91
post #84
post #60

Earlier quoted context omitted.

Even putting aside my great dislike for Scala (which I discussed on HN ad nauseam :)), I think everyone would agree that Scala has a very different philosophy from Java. Java has been designed as a "blue-collar" language, with maintenance of a large project with possibly hundreds of developers as a central guiding principle. C#, Go, Dart, Kotlin, Fantom etc., have a similar philosophy. But Scala is a different beast…

I wouldn't say that Java is extremely popular by any stretch. It's ubiquitous, but people aren't falling over themselves to become Java programmers anymore. I'd say Java is much less popular than it used to be (and I've run a Java Users' Group for 13 years). The JVM is still popular, but Java the language's popularity is arguably at a low point.

I don't think he means java is popular in the "cool" sense. He means it is popular because it is so widely deployed and still in use everywhere.

Re: About PayPal's Node vs Java “fight”

#92

I fantasize about rebuilding the java ecosystem. Create "JPM", don't allow anything from the old Maven system in it. Create a new "hip" minimalist framework that ignores everything about java and its notions of OOP. Basic dependency management handled NPM-style. Developers encourage to put everything in the same package for their own stuff, and everything is package level. Getters and setters and encapsulation and ja…

Forget about OOP. Check Clojure.

Re: About PayPal's Node vs Java “fight”

#94
post #84
post #60

Earlier quoted context omitted.

Even putting aside my great dislike for Scala (which I discussed on HN ad nauseam :)), I think everyone would agree that Scala has a very different philosophy from Java. Java has been designed as a "blue-collar" language, with maintenance of a large project with possibly hundreds of developers as a central guiding principle. C#, Go, Dart, Kotlin, Fantom etc., have a similar philosophy. But Scala is a different beast…

I wouldn't say that Java is extremely popular by any stretch. It's ubiquitous, but people aren't falling over themselves to become Java programmers anymore. I'd say Java is much less popular than it used to be (and I've run a Java Users' Group for 13 years). The JVM is still popular, but Java the language's popularity is arguably at a low point.

Java at corporation level is extremely popular.

Re: About PayPal's Node vs Java “fight”

#95
post #88

Earlier quoted context omitted.

Except that of all the things you've named, dynamically typed languages are hardly "a fad". It's surprising (?), though, that the lousy ones are the most popular ones.

I take a very cynical view of these things, and from that perspective it doesn't surprise me at all, really. My cynical view is that the "lousy" ones are popular because they are easy even for non-technical people to learn well enough to be useful in the majority of business settings. This sets up a kind of feedback loop: there is an abundant supply of "cheap" labor who can use these languages, which companies love,…

I think its more of the realization that types are actually freaking useful for determining "provability" of a system. C++ perhaps takes it too far with Const, but it allows the compiler to prove that certain functions will not attempt to modify certain variables.

Compared to Python or Ruby, you're pretty much relying entirely on culture and good habits to ensure the proper rules of encapsulation. Any code may modify the private members of your objects. (Granted, C++ has "mutable", Java has the whole "Reflection" loophole as well. But you can search for those edge cases rather easily).

Re: About PayPal's Node vs Java “fight”

#96
post #60
post #49

Earlier quoted context omitted.

So why not scala? Scala 8 years ago is where java 8 is now, and you can ignore most of the java frameworks.

Even putting aside my great dislike for Scala (which I discussed on HN ad nauseam :)), I think everyone would agree that Scala has a very different philosophy from Java. Java has been designed as a "blue-collar" language, with maintenance of a large project with possibly hundreds of developers as a central guiding principle. C#, Go, Dart, Kotlin, Fantom etc., have a similar philosophy. But Scala is a different beast…

On what do you base your assumption when you say nobody would recommend Scala as a replacement for Java? Scala has actually taken great pains to maintain seemless Java interop for this very reason.

It IS an improvement on/replacement for Java in most situations.

Re: About PayPal's Node vs Java “fight”

#97

I fantasize about rebuilding the java ecosystem. Create "JPM", don't allow anything from the old Maven system in it. Create a new "hip" minimalist framework that ignores everything about java and its notions of OOP. Basic dependency management handled NPM-style. Developers encourage to put everything in the same package for their own stuff, and everything is package level. Getters and setters and encapsulation and ja…

You've basically described C#: Getters, setters fixed? Check. Functional features? Check. Most crappy OO features fixed? Check. Trendy package system inspired by npm/apt-get/gems? Check. Healthy community with libraries replacing frameworks? Check. I'd recommend checking it out if you haven't already.

Except that between the two, only the JVM is truly cross platform, Mono notwithstanding.

Re: About PayPal's Node vs Java “fight”

#98
post #84

Earlier quoted context omitted.

I wouldn't say that Java is extremely popular by any stretch. It's ubiquitous, but people aren't falling over themselves to become Java programmers anymore. I'd say Java is much less popular than it used to be (and I've run a Java Users' Group for 13 years). The JVM is still popular, but Java the language's popularity is arguably at a low point.

I don't think he means java is popular in the "cool" sense. He means it is popular because it is so widely deployed and still in use everywhere.

I agree that Java is widely adopted (thus my 'ubiquitous' comment). The fact that the commenter followed-up immediately with "some of its most painful points have been addressed in Java 8" led me to believe it was referring to being liked and not necessarily to being adopted.

Re: About PayPal's Node vs Java “fight”

#99
post #88

Earlier quoted context omitted.

Except that of all the things you've named, dynamically typed languages are hardly "a fad". It's surprising (?), though, that the lousy ones are the most popular ones.

I take a very cynical view of these things, and from that perspective it doesn't surprise me at all, really. My cynical view is that the "lousy" ones are popular because they are easy even for non-technical people to learn well enough to be useful in the majority of business settings. This sets up a kind of feedback loop: there is an abundant supply of "cheap" labor who can use these languages, which companies love,…

[deleted]

Re: About PayPal's Node vs Java “fight”

#100

So far I tried compiling some of my numeric Scala code to JS with Scala.JS and unfortunately running that code in Chrome is much, much slower (~10-20 times) than running the original version on Java 7. :( Not sure if it is because Scala.JS creates poor code, or just JS is still not as fast as they claim.

Current version of Scala.JS is an alpha release, don't expect miracles.
Post reply on HN