News for hackers. Stuff that matters.
Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @11:00AM (#14401769)
It's not a bad language, it's just alternatives are vastly better for a typical startup. Java is the language that's "Good at everything", while these days we have languages that are "Great at some things", and often, whatever the use case, there's simply a better language for it.

What makes Java powerful is that it's good at everything. That's incredibly valuable for Amazon and Google, because they have an insane amount of code. So whether they need concurrency, or tooling, or whatever they can throw any 4-5 engineers at the problem and they'll be able to get it done.

For a startup, they aren't going to need the greatest General Purpose language ever made. They generally have specific problems. And there are simply better languages out there for almost all of them.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by asdf1234 on Tuesday May 23, 2017 @11:21AM (#14401979)
I don't use Java much but out of the languages you named none of them are better at much and with the exception of C# all of them have far, far worse tooling.

Go is hardly a "modern language" from a language design perspective so you're not gaining much over Java here. It has horrendous package management and the IDEs, debuggers, profilers and live monitoring tools are probably a decade or more behind the tools available for Java and the JVM. It's also much harder to find Go programmers than it is Java programmers.

Python is a very slow dynamically typed language with a horrible deployment and concurrency story. A lot of big companies justifiably won't even consider a dynamically typed language. Again all the tooling from package management to profilers to debuggers is way behind what's available for Java and the JVM.

C# is a real competitor but for the most part it's still tied to Windows. This is slowly changing but the vast majority of C# libraries still require the full .NET runtime on Windows and the open source community around C# is a small fraction of the size of the community around JVM languages.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @11:35AM (#14402086)
> I don't use Java much but out of the languages you named none of them are better at much and with the exception of C# all of them have far, far worse tooling

You're just wrong there. There are plenty of languages that do something better than Java, but none of them do everything better than Java.

> I don't use Java much but out of the languages you named none of them are better at much and with the exception of C# all of them have far, far worse tooling

Now we are traversing into "my opinion is fact here".

> Python is a very slow dynamically typed language with a horrible deployment and concurrency story.

Who the hell uses Python for concurrency? It has a global interpreter lock... if your use case obligates concurrency and you pick Python you just don't understand what you are doing.

> C# is a real competitor but for the most part it's still tied to Windows.

Yes, let's dismiss every other language because Python is bad at concurrency and you don't like Go's package manager... Give me a break.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by asdf1234 on Tuesday May 23, 2017 @11:46AM (#14402184)
> There are plenty of languages that do something better than Java

I agree and I never said otherwise. I specifically addressed three of the languages you named (Python, Go and C#).

> Now we are traversing into "my opinion is fact here".

I'd love to see someone argue that Go or Python have superior tooling to Java and the JVM.

> Yes, let's dismiss every other language

I'm not dismissing every other language, I don't even use Java regularly, I'm dismissing two of the "modern" languages you named.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @12:55PM (#14402879)
> I agree and I never said otherwise. I specifically addressed three of the languages you named (Python, Go and C#).

By pointing out things that they do decidedly worse than Java, which was exactly the opposite of my point.

> I'd love to see someone argue that Go or Python have superior tooling to Java and the JVM.

I never said they did, because they don't, in general. But Python is absolutely superior in some areas (statistical modeling, machine learning) because the tools it uses are, objectively, better.

> I'm not dismissing every other language, I don't even use Java regularly, I'm dismissing two of the "modern" languages you named.

Right, you're dismissing them for decidedly stupid reasons. Literally no one on the planet is going to think Python is a good option for concurrency. And you're opinion on Go is literally just an opinion, that many (myself included) would absolutely disagree with.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by asdf1234 on Tuesday May 23, 2017 @01:17PM (#14403059)
> because the tools it uses are, objectively, better.

Bullshit. Python is often used for early exploration but the people doing serious work in ML almost always end up using C++, Java or Scala.

> you're dismissing them for decidedly stupid reasons

So having relatively poor tooling, poor package management, poor performance and bad concurrency support aren't good reasons for dismissing a language? Go and Python aren't even particularly well designed languages. That's far more than you've given for dismissing Java and claiming that alternatives are "vastly better for a typical startup."

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @02:55PM (#14404090)
> Bullshit. Python is often used for early exploration but the people doing serious work in ML almost always end up using C++, Java or Scala.

LOL. What? Did you poll every company doing ML work to arrive at that conclusion? C++, sure. Java and Scala? I've literally NEVER seen actual ML work done in either language at either of the 2 companies (both big 4) I've worked at.

> So having relatively poor tooling,

No. Is Java's tooling generally better? Probably. Does that make all other tooling poor? No.

> poor package management

Stop treating your preference as if it's fact.

> poor performance

Which matters sometimes, but not always. If performance were a metric that made a language live or die, nobody would use anything but C/C++.

> bad concurrency support

Only in Python. But that's moot, you don't need concurrency in every application. Do you realize there are ENORMOUS applications, in-use today, that scales dramatically and they are written in a variety of languages, including Python?

> Go and Python aren't even particularly well designed languages.

Your arguments here indicate you have very little understanding of basic language use-cases, so pardon me if I don't hold your opinion on language design to a very high standard.

> aren't good reasons for dismissing a language

They aren't reasons. They are your opinions and a fundamental misunderstanding of basic use-cases. Frankly, based on what you've said so far, your judgement about languages in general is on-par with what I'd expect for a new grad CS major that only used C++ or Java while in college.

> That's far more than you've given for dismissing Java and claiming that alternatives are "vastly better for a typical startup."

And yet I clearly explained why Java is generally not a good choice for a startup. And it seems, most startups agree since the majority don't use Java.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by asdf1234 on Tuesday May 23, 2017 @03:24PM (#14404370)
> I've literally NEVER seen actual ML work done in either language at either of the 2 companies (both big 4)

I work at one of the big 4 right now and almost all the serious ML is done in C++ and Java. Python is purely used during exploratory phases and even that is being phased out. Most of the other things I said aren't even controversial so I'm just going to ignore you from now on. Enjoy thinking Python and Go are well designed languages.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @04:07PM (#14404793)
> Most of the other things I said aren't even controversial

Most of the things you said were a straw man and nothing more. Go and Python are good at what they do. I see them as tools in a vast tool box. You think everything is a nail. Enjoy thinking that's a valid viewpoint.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by interestingemu on Tuesday May 23, 2017 @02:58PM (#14404121)
GP is clearly right. What's the point of going "that's just your opinion" on every fact he mentions?
Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @04:05PM (#14404772)
Yes... "Go's package manager is bad." That's a fact...
Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by pvg on Tuesday May 23, 2017 @11:11AM (#14401874)
What are the specific problems that are so radically different than the specific problems somewhat bigger companies might have? What does "For a startup, they aren't going to need the greatest General Purpose language ever made" mean?
Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @11:31AM (#14402066)
The biggest problems big companies have is that they need to do everything. If I have a companies with 2000 engineers and I have projects in ML, Rest Servers, Cloud systems, etc, it makes vastly more sense to rely on one language to do everything, because it allows me to shift engineers from one place to another without them having to learn a new language.

If I'm a startup, I generally have ONE thing that I need to excel at. If that's computer vision, why would I use Java when C++ (and arguably Python/OpenCV) is decidedly better at computer vision? If I need a simple REST service for my particular project, why in the world would I use Java over Python, Ruby or Go?

The value of Java is that it does everything well, but the ecosystem is enormous. It's overkill for most projects, unless you happen to have projects that scale across multiple domains that Java does well.

I find it odd that I'm getting so much push back here. There's a massive amount of cognitive overhead in utilizing Java. There's also a huge cost (both cognitive and entry) in using of Java. (The difference between a Java programmer and a generalist? How much the latter has to learn to catch up.)

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by dragonwriter on Tuesday May 23, 2017 @11:44AM (#14402161)
> If I have a companies with 2000 engineers and I have projects in ML, Rest Servers, Cloud systems, etc, it makes vastly more sense to rely on one language to do everything, because it allows me to shift engineers from one place to another without them having to learn a new language.

Well, CIOs tend to think so. I think they are wrong, and that this is one of the reasons enterprise-internal technology is so bad.

You aren't actually going to.move engineers between those tasks very much, because each of them relies on fairly deep domain knowledge, and, in any case, it's unlikely that the size of demand between those tasks shifts enough that it makes sense to shift a lot of people around. And, those you do shift around are going to have a lot of work coming up to speed on domain knowledge (which is going to have a huge impact on how the language is used), which will dwarf any language-transition effects. And, furthermore, the places that do stuff like this aren't the kind of places that attract the kind of talent that could manage to the transition between these divergent domains well; what they almost invariably end up doing to deal with short-term shifts is hiring specialist contractors in the more in-demand area, and for longer-term shifts reducing headcount in one area and hiring new people in the other.

At the same time, you are inhibiting productivity in most or all of the individual domains by not choosing the right tool for the specific job.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by jhall1468 on Tuesday May 23, 2017 @01:00PM (#14402918)
> You aren't actually going to.move engineers between those tasks very much, because each of them relies on fairly deep domain knowledge, and, in any case, it's unlikely that the size of demand between those tasks shifts enough that it makes sense to shift a lot of people around.

I agree, but wanted to specify "big" examples to make it clear what my point was. That said, while they do require domain knowledge, I've seen people move into entirely different domains at the same company. It's not common, but it absolutely happens.

Re:James Gosling, the ‘Father of Java,’ joins Amazon Web Ser... by s73ver on Tuesday May 23, 2017 @12:18PM (#14402504)
I fail to see the difference between a startup and a normal software shop in this context.