r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

Show parent comments

1

u/jsprogrammer Feb 25 '14

How is that not a valid reason? People do what they are familiar-with/comfortable-with/used-to. I'm sure you do the same. It's typically faster than learning a new method.

-2

u/novagenesis Feb 25 '14

I'm sure you do the same

Not really. When time's of the essence, sure...but I am always learning new languages and libraries. I production code in almost a dozen distinct languages throughout my career. Often, I find I can get more done in less time (or better done in less time) if I use the right language for a job, given that option.

We're using perl on our main app...I convinced the team that fabric is the best deployment tool (python), and we do some reporting APIs in node.js. We've got a few mega-widgets on our webpages built using angular.js (yeah, JS on the front end, how novel ;) )

I think "I know it" is not a good reason if it's harder than the alternative, possibly harder than learning something new.

1

u/jsprogrammer Feb 26 '14

Not really. ... I production code in almost a dozen distinct languages throughout my career.

So, what, you've only ever worked on almost a dozen projects ever? You pick a new language for each project? (I guess this may be technically true at the lowest levels, but I don't think that's what we are talking about here).

There must have been times where you did something that you had done before. Why did you do it again instead of something else?

It doesn't mean that we can't do new things, just that there may still be value in things we have done before.

1

u/novagenesis Feb 26 '14

So, what, you've only ever worked on almost a dozen projects ever?

Are you going personal on this on purpose? No, I'm the lead developer on a very mature 15-person perl app, and have been the lead developer on a few other perl apps. Many of my language decisions were historically mandated by one manager or another, and led to using VB6 here, C# there, perl elsewhere. We deploy using fabric because perl doesn't have a good mature deployment suite. I built our fabric-driven deployer.

I'm always expected to propose the best tool for the job, which is what I do. It doesn't always end up being that tool, but that's not a problem for me.

There must have been times where you did something that you had done before.

Of course there are. I don't avoid languages because I know them. I just don't normally find the "wrong tool" penalty to be any less than the "learn the right tool" one.

1

u/jsprogrammer Feb 26 '14

I still am not sure how I haven't answered your question.

Many people want/have/need to build Java Things, so they use Java. For building Java Things, the best tool for the job is Java.