r/java • • Jun 10 '24

[deleted by user]

[removed]

615 Upvotes

594 comments sorted by

View all comments

Show parent comment

-129

u/Beamxrtvv Jun 10 '24

I see, that makes sense. Despite, are new systems being built with Java? it seems everything is a “sexy” new JavaScript framework these days

37

u/woj-tek Jun 10 '24

Because software is not about being "sexy" but about being solid...

Each time I have to take something from JS world it's just broken after 3 months because of dependency hell... not to mention lack of compilation type checks (save for TypeScript)

9

u/ComfortablyBalanced Jun 10 '24

Good software is boring.

102

u/HaMMeReD Jun 10 '24

Yes, new systems are build with Java because of the reasons I mentioned.

I.e. you can choose something else new and shiny, but that always comes with risk being on the bleeding edge. Java is "old faithful", it does many jobs really well, and there is very little unknown risk in choosing it.

11

u/Beamxrtvv Jun 10 '24

Thank you! That is very insightful. I’ll definetly look more into the web server/backend capabilities of Java!

8

u/HaMMeReD Jun 10 '24

The reason I have to use Java is for Android myself (although I prefer flutter, but there is no avoiding it 100% there).

End of day, different languages have different pros/cons, I use different languages based on what I'm forced to use, and what makes most sense at the time. I.e. I use Python quite frequently when I want to script something dirty, I use C++ when working on native libraries or Unreal engine etc.

It starts with learning what you want to build (or have to work on/with), and then choosing a language from there.

→ More replies (4)

42

u/bawng Jun 10 '24

Nothing sexy is ever built with Javascript.

73

u/roberp81 Jun 10 '24

Javascript is the worst language you can use for anything.

22

u/qdolan Jun 10 '24

Maybe not the worst, but it’s right up there in contention.

5

u/ComfortablyBalanced Jun 10 '24

It is the worst modern language.

17

u/zappini Jun 10 '24

JavaScript is in an n-way tie for worst-place. It was born worse than wrong and then went downhill from there.

2

u/Misophist_1 Jun 11 '24

I could name a bunch of contenders:

  • COBOL
  • Next to all scripting languages, from DOS Shell to every *sh out there, including Power Shell. Only exception: REXX.
  • A number of long forgotten, vendor specific '4GL' languages, like CA-EARL and MANTIS and ABAP.
→ More replies (1)
→ More replies (23)

21

u/not_some_username Jun 10 '24

Everything isn’t a sexy JS framework. In webdev yes. Outside there is a whole world that doesn’t touch JS and never will.

→ More replies (4)

8

u/[deleted] Jun 10 '24

[removed] — view removed comment

3

u/dalvz Jun 10 '24

Wow! Javafx is still around? That's awesome. I remember using it for a college assignment once and it being super interesting. I think it was fairly new at the time, glad to see it has lasted.

3

u/wildjokers Jun 10 '24

It was removed from the JDK but is available as a 3rd party dependency (and Oracle still does some of the development). Its source is still in the OpenJDK project:

https://github.com/openjdk/jfx

Swing is still in the JDK.

21

u/cyril_nomero Jun 10 '24

Why do people downvote you? You are just asking questions. Lots of other people may have the same question, it is useful questions. 

19

u/Beamxrtvv Jun 10 '24

I have literally no idea😭😭 Sadly it would likely turn away new people to the art of programming.

22

u/TheSkyNet Jun 10 '24

Just so you know I keep reapproving, it's had like 20 reports so far and it's really annoying everyone in the subreddit, I'm all for that because they annoy me on the daily.

13

u/Beamxrtvv Jun 10 '24

Was there genuinely something I should have done better/differently? Like I tried my hardest to not make it seem baity or combative, I’m genuinely trying to learn from others experience😭 Thanks for keeping me up though:)

11

u/TheSkyNet Jun 10 '24

technically it breaks the rules, But it was around for way longer before I got to it so I just let it stay.

This subreddit just gets toxic sometimes once or twice a week they'll just down vote a question they don't like the perceived answer to I think it's some form of mass impostor syndrome.

→ More replies (3)
→ More replies (1)
→ More replies (1)

4

u/jimbo831 Jun 10 '24

Honestly it's pretty frustrating. I've seen a lot of people who are younger and/or newer to the industry make posts shitting on Java and talking about how whatever the newest hotness is (Python, Go, Node, etc) is going to take over the industry any day now. Those people don't understand why their bad hot takes are bad.

Unlike them, you came here asking good questions to try to learn what you were missing. This is what people should do when they don't understand something.

6

u/Beamxrtvv Jun 10 '24

Thank you! I appreciate you. People have been very helpful and I’ve learned quite a bit, so it’s not all bad :)

→ More replies (1)

2

u/DeliveryNinja Jun 10 '24

You find a lot of java shops are reverting to core java wherever possible. Why support latest fad framework x when everyone knows Core Java. Keep it simple

2

u/c8d3n Jun 10 '24

I have yet to see someone using JS to develop an ERP or banking application that's processing a ton of data.

→ More replies (6)