DEV Community

Play Button Pause Button
Grzegorz Piechnik
Grzegorz Piechnik

Posted on

Who chooses programming in Java? πŸ€”πŸ’»

Everyone has different preferences for choosing a programming language πŸŒπŸ’­, often based on specific project requirements or personal affinity. Java is chosen by those who... πŸ› οΈπŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Top comments (26)

Collapse
 
lnahrf profile image
Lev Nahar

I hate python's syntax haha

Collapse
 
gpiechnik profile image
Grzegorz Piechnik

no way! i love it!

Collapse
 
lnahrf profile image
Lev Nahar

I just can't handle forced indentation πŸ˜…

Collapse
 
kaamkiya profile image
Kaamkiya

That's something I've never heard before 🀣. But I guess if you're used to C-based syntax with lots of {}s then it would be quite weird.

Collapse
 
lnahrf profile image
Lev Nahar

Yea forced indentation does not work for me πŸ˜…

Collapse
 
abbeycity500 profile image
Arowolo Wahab Abiodun

Hmmm

Collapse
 
big profile image
Bigou

Depressives and people who like to write a lot of code for very little.

Seriously, what motivates people to use such a heavy tool?
The language is so classic in syntax that I don't feel the slightest joy in writing it.

If I had to compare Java to a person, I'd say it's a serious guy with no personality.

Collapse
 
meatboy profile image
Meat Boy

The language is so classic in syntax that I don't feel the slightest joy in writing it.

You don't have to. In most cases, it's a solid "tool" to solve the business problem. You don't expect from hammer to be fancy and "joyful" but to have a solid grip and be able to drive a nail.

Collapse
 
kchawla_pi profile image
Kshitij Chawla

Yes. But joylessness is one less reason to use it.
Java didn't used to have good alternatives for what it offered even just 15yrs ago, but now there are plenty of good ones, especially when the needs are more specialized, so if one starts on a new codebase, there are a lot less scenarios where Java is automatically presumed to be the best choice.

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him) • Edited

Yeah, but then you wouldn't build a hammer factory and a nail factory. πŸ˜†

Thread Thread
 
meatboy profile image
Meat Boy

Haha, yeah. However this can be applied to many other languages too.

Collapse
 
greenteaisgreat profile image
Nathan G Bornstein

The only application I can think of for web development is for working on the backend. For everything else, enterprise-level companies usually love Java. It's a tried and true programming language and can be found in a wide array of devices.

I do think Java gets a lot of unnecessary flack though πŸ˜‚ the syntax is quite verbose and it takes a lot of it to do relatively simple things. I think that's one of the reasons for the hate

Collapse
 
gpiechnik profile image
Grzegorz Piechnik

Syntax is quite verbose and it takes a lot of it to do relatively simple things.

100%!!

Collapse
 
luckyshuii profile image
Lucas Boillot

It seems about right haha

Collapse
 
dagnelies profile image
Arnaud Dagnelies

Over my long career I've gone through C++, Java, Python, Javascript, Typescript and a few more exotic languages. Of all of these Java was the most "robust". While I love python for "scripts", C++ for low-level performance critical stuff, JS/TS for web stuff, I still consider Java the better choice by far for applications that grow in complexity and require long term support. I'm not sure what the bashing is about. Ignorance?

Collapse
 
dagnelies profile image
Arnaud Dagnelies • Edited

Ironically enough, I think that because you can master complexity well with Java, many libs in the ecosystem are overengineered rather than KISS, turning a strength of the language in a weakness. The JDK could need some simplifictions too.

Collapse
 
olivia578 profile image
Olivia Anderson

...want to write a program that starts slowly, gradually warms up, and then runs for decades without ever stopping.

Collapse
 
prsaya profile image
Prasad Saya

I learnt Java for the sake of learning a new programming language and then had opportunities to work as well as learn the various aspects and capabilities of the language. By chance I wrote some Java code for fun and enjoyed it (see scribonotes).

With Java you can write code in procedural (rarely), object-oriented, functional and reactive programming. You can develop applications for desktop, web, mobile and for devices.

Collapse
 
buckelieg profile image
Anatoly

... takes language popularity into account when researches the market to earn money.

Collapse
 
srbhr profile image
Saurabh Rai • Edited

I do, day and night. Not to mention, it's Spring as well.

I write 50+ letters to declare a function.

Collapse
 
iamspathan profile image
Sohail Pathan

Who loves scalability

Collapse
 
skyloft7 profile image
Mohammed

Found Head First Java up on their Dad's bookshelf as a kid :)

Collapse
 
les2 profile image
Lloyd Smith

Practical people who want the best libraries, static typing, and no nonsense.

Collapse
 
harvestmint profile image
Keyla C.

I only have an affinity for Java because it is currently the only language I know. It's what was taught in Programming I.

Collapse
 
billapepper profile image
Nikkie Folts

Vanilla Java is a bit clunky, but it boils down to frameworks.... Quarkus is a great framework for building a Java applications... makes Java great again 😏

Collapse
 
akshay_1232 profile image
Akshay Kumar Bharadwaj

For Android Dev...It's useful...Btw I follow kotlin😜