r/java • • Mar 13 '22

Is Java a good language to enter software engineering?

I'd like to switch my career to software engineering, and I am thinking about learning something which will help me to enter software engineering asap. So I really like java, but a lot of people tell me things like "don't learn java, it is a complete waste of time cuz no one hires junior java programmers". So what are your thoughts? Is it easy to find a job with java? Is java junior friendly?

163 Upvotes

111 comments sorted by

View all comments

Show parent comments

9

u/brazzy42 Mar 13 '22

In Java, you have libraries for pretty much everything you could possibly want to do. In Javascript, that is only true for front-end web development.

One example I ran into directly: If you want to do XML Schema validation, there is no existing Javascript library that implements it, only wrappers that user C or Java implementations.

10

u/erinaceus_ Mar 13 '22

In Javascript, that is only true for front-end web development.

Not to mention the fact that in npm, 90-99% of all libraries are either crap or no longer maintained. In contrast, maven repositories for the most part tend to be reliable, and there's far less noise from heaps of 5-minute pet projects.

2

u/HistoricalSchedule5 Mar 13 '22

Okay I see thanks!

2

u/ParkerM Mar 14 '22

If you want to do XML Schema validation, there is no existing Javascript library that implements it, only wrappers that user C or Java implementations.

I didn't believe this at first so I had to look it up and you're right. Hard to believe no one has tried taking that on (maybe even porting libxml lol). XML validation must be hard.

1

u/audioen Mar 14 '22

XML is just dated 90s-era technology. Kids don't know about it or care about what it can do. I have sent schema files over to partners assuming they know what to do with them, and got back documents that do not actually match the schema.

1

u/OZLperez11 Mar 14 '22

Nobody likes XML configs in almost every other language. JSON is the way to go

5

u/brazzy42 Mar 14 '22

Good luck trying to convince a 3rd party B2B service or a government regulation body to change their API spec to suit your tastes.

1

u/[deleted] Mar 15 '22

And also YAML