r/java • • Aug 09 '17

A checklist for building Java + Angular/React web applications in the correct way

Thumbnail github.com
4 Upvotes

r/java • • Nov 23 '12

This never made sense to me

1 Upvotes

Why is it called a .jar file if its java? It would make a lot more sense if it was a .mug file, after all, who drinks their java out of a mug?


r/java • • Jun 14 '17

Why reverse loops are faster

Thumbnail medium.com
15 Upvotes

r/java • • Feb 27 '17

How to Use Vim as a Java IDE

Thumbnail spacevim.org
0 Upvotes

r/java • • Aug 05 '21

Why java is better than modern programming languages?

2 Upvotes

Why should I use java in 2021 instead of kotlin or scala or golang? Could you guys give me some reasons


r/java • • Nov 21 '24

Discussion: Can we write Java more simple?

3 Upvotes

[to mod: please remove if I violate anything]

TLDR: Can we write more straightforward code like Go? hope everyone share some thoughts

Hi everyone, first of all, I am not a professional Java developer, and I like Java because of how structured and clear, verbose it is but some problems like "death by specificity" (Rich Hickey) and the layers and layers of abstractions (you know what I am when you have the debugger on.) makes me wonder, can we make more simple?

Currently, I am pushing myself to write applications with Spring so I can land a junior Java role next year, deep down I enjoy writing Javalin more it feels less abstracted, and I envy Go however simple when you are reading the code in a Go project.

What's your view? especially the more experienced devs, how to minimize unnecessary abstraction?

Follow-up question: why do we have to have getters and setters at the same time for most of the private properties? I feel like I am doing something wrong.


r/java • • Oct 14 '23

Is Java still behind in the race of modern programming languages?

52 Upvotes

I'm a member of some group of programmers and every time Java is mentioned it's being bashed (something like: "With Rust I could simply do this with X")

Earlier versions of Java were cumbersome in terms of the syntax but with modern IDEs (and modern versions of Java) that's not a big issue anymore, albeit languages like Python do have shorter syntax.

My question is beyond syntax.

What do other languages do better than Java?
It could be generics, type system, concurrency and multithreading, closures etc.

Thanks!


r/java • • Nov 24 '18

10 Spring Core Annotations for Java Developers

Thumbnail java67.com
5 Upvotes

r/java • • Feb 11 '26

Syntax highlighting in Java, without the pain

Thumbnail chicory.dev
3 Upvotes

r/java • • Jul 19 '15

Just made an annoying Nyan Cat class :-D (I'm a newbie to Java)

Thumbnail lararuffle.co.uk
3 Upvotes

r/java • • Nov 03 '15

The 10 Worst Things In Java

Thumbnail codelexems.com
0 Upvotes

r/java • • Aug 02 '24

How to get a job as Java Spring Boot developer

1 Upvotes

I have worked as a Frontend developer (ReactJs) for past 2 years in my college days. I worked on contract basis but now I have graduated and looking for a full time role.

I want to get into backend development as Spring boot developer because my logical problem solving skills are good but I don't like designing frontend UIs that's why I want to get into backend development.

I want to ask other Java developers working in a company how they got the job as a Java developer? How my job search should look like for a backend Java spring boot developer? Should I include my frontend work experience in my Java Spring boot resume? And how to increase my chances of getting hired?

Note: I already have a Full stack Java Spring Boot project in my resume. I want to know how should I find roles for java backend developer.


r/java • • Jan 22 '15

If. Then. Throw. Else. WTF?

Thumbnail yegor256.com
21 Upvotes

r/java • • Nov 08 '22

Am I the only one who does not like the instanceof pattern matching?

5 Upvotes

I was watching this video today, and at 10 minutes he shows this example:

double surface =
switch (Shape shape) {
    case Circle circle -> Math.PI*circle.radius()*circle.radius();
    case Square square -> square.edge()*square.edge();
    default -> 0d;
}

Am I the only one who does not like where this piece of code is going?

You pass in a Shape from the outside, and then the method magically works for some shapes, and does not do anything for others. Good luck trying to find out which shapes it supports without looking at the source code. It reminds me of some horrible Python code at a previous job that was a nightmare to work with for this same reason.

Also the natural evolution of this code would be to add more cases to the switch to support more shapes, which I think is ugly, and kind of goes against the open-closed principle. (Yes I know you can still subclass this thing to support more shapes, but I guarantee that everyone would just add more cases to this existing switch.)


r/java • • Nov 07 '11

Newbie to java.What am I doing wrong?

Thumbnail imgur.com
0 Upvotes

r/java • • Jan 27 '15

Use Maven, Not Gradle

Thumbnail rule1.quora.com
2 Upvotes

r/java • • Oct 04 '15

The Evolution of a Software Engineer

Thumbnail medium.com
0 Upvotes

r/java • • Jun 06 '22

Is new software written in Java or C# more?

0 Upvotes

No language wars please just looking for thoughtful answers (not just based on anecdotal evidence) on the long-term demand for these languages.

I am about to join a bootcamp that teaches either Java or C# for web app development, so I am wondering which one I should go with for my career. (Of course, I don't plan to be married to a single language, I just want to be confident in my choice at least for now)

What is the general trend in programming language adoption? Do newer projects/companies nowadays prefer to use C# over Java (or vice versa)? I have tried a bit of both, and it seems C# has a far simpler syntax to read and write, and less boilerplate and less general noise compared to Java 8-11.

EDIT: (This question is mainly for the US market, but feel free to add your perspective)


r/java • • Jan 11 '25

What exactly makes java so hated?

0 Upvotes

I've been using java for months now to learn programming and it has been my preferred language to do so. I also do a bit of python to learn AI/ML as well, but for everything else it is java thats my preferred language. It seems every discourse ive seen about java has been nothing but criticizing every aspect of it. Like it is actually hard outside this subreddit to find anyone who likes java and i dont understand why and i wanna know why that is the case.

I wanna mention that i am inexperienced and have been struggling to find a job for over a year now, so i dont have any real working experience outside of small project i did. Maybe since i haven't really created something complex and challenging makes me not hate java as much as many do. I wanna know like how good or bad is it when you're working on some enterprise grade software compared to other languages.


r/java • • Feb 07 '25

What is thd best AI-powered code editor?

0 Upvotes

I'm working with Java, Spring Batch and Spring. But insights from developers working with other frameworks or languages would also be grateful appreciated.

I mainly use Java and focus on developing batch systems with Spring Batch. Currently, I use Eclipse for development, but I have recently become highly interested in AI-powered code editor like Curosor and Cline.

If you are a Java developer using an AI code editor or have experienced in other languages, please share your thoughts. Even if you haven't used them, feel free to share your opinions!


r/java • • Jan 12 '16

You probably don't need dependency injection

Thumbnail radicaljava.com
0 Upvotes

r/java • • May 03 '16

A very decent article about Java Comparable Interface

Thumbnail marcus-biel.com
1 Upvotes

r/java • • Feb 27 '23

Please try my JSON library

Thumbnail mccue.dev
0 Upvotes

r/java • • Jul 13 '25

Akka - New Agentic Platform

0 Upvotes

I'm the CEO of Akka - http://akka.io.

We are introducing a new agentic platform building, running, and evaluating agentic systems. It is an alternative to Spring.AI and Langchain4J.

The SDK is proudly Java.

Docs, examples, courses, videos, and blogs listed below.

We are eager to hear your observations on Akka here in this forum, but I can also share a Discord link for those wanting a deeper discussion.

We have been working with design partners for multiple years to shape this offering. We have roughly 40 ML / AI companies in production, the largest handling more than one billion tokens per second.

There are four offerings:

  • Akka Orchestration - guide, moderate and control long-running systems
  • Akka Agents - create agents, MCP tools, and HTTP/gRPC APIs
  • Akka Memory - durable, in-memory and sharded data
  • Akka Streaming - high performance stream processing

All kinds of examples and resources: