176
5
177
5
178
10
179
33
180
6
181
4
182
9
183
3
184
2
185
10
186
37
187
7
188
29
Breaking java.lang.String (wouter.coekaerts.be)
189
6
What is blocking in Loom? (softwaremill.com)
190
1
submitted 2 years ago by aev@lemmy.sdf.org to c/java@programming.dev

Chances are you forgot to kick it.

The linked article is written by me. It explains how Java streams need a terminating operation in order to start any actions. For more explanations and code examples, do follow the link and read the article. It's free.

191
4
192
6
submitted 2 years ago by kmo@feddit.de to c/java@programming.dev

Hi everyone,

I'm trying to find out how much people use the "new" features available in java. I would be very thankful, if anyone could participate. (less than one minute required)

In my former projects we neither had the latest java version, nor did we use all the features available. Sometimes i had the feeling, that some of my collegues didn't even know that these features exist. How's your experience?

https://forms.office.com/r/udsj1aUawV

193
4
submitted 2 years ago* (last edited 2 years ago) by kmo@feddit.de to c/java@programming.dev

Hi everyone,

I'm trying to find out how much people use the "new" features available in java. I would be very thankful, if anyone could participate. (less than one minute required)

https://forms.office.com/r/udsj1aUawV

194
8
submitted 2 years ago* (last edited 2 years ago) by JackbyDev@programming.dev to c/java@programming.dev

Everyone is posting about beans!

195
9
196
5
197
8

Which do you prefer of these two? The goal is the same. If bar is null then make foo null and avoid the exception. In other languages there is the ?. operator to help with this.

foo = bar == null ? null : bar.baz();
foo = bar != null ? bar.baz() : null;

I ask because I feel like the "English" of the first example is easier to read and has less negations so it is more straightforward, but the second one has the meat of the expression (bar.baz()) more prominently.

198
5
submitted 2 years ago by pohart@lemmyrs.org to c/java@programming.dev

I've been paying attention to the JEPs, but this includes the general API changes that there aren't jeps for.

199
7
submitted 2 years ago by pohart@lemmyrs.org to c/java@programming.dev

virtual threads, sequenced collections, generational ZGC, pattern matching, structured concurrency preview , vector preview, string templates preview

200
3
Duke, the Java mascot (www.oracle.com)
view more: ‹ prev next ›

Java

1714 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 2 years ago
MODERATORS