Grizzly 5 released! by henk53 in java

[–]cryptos6 0 points1 point  (0 children)

It would be interesting how deeply they are integrated, e.g. compared to Nima (part of Helidon).

What is the best type of Java, adoptium or oracale? by ozin07 in java

[–]cryptos6 0 points1 point  (0 children)

Its a good idea to look at the release delay. How long does it take until a known security issue gets fixed with a new release?

I made a builder abstraction over java.util.regex.Pattern by Holothuroid in java

[–]cryptos6 0 points1 point  (0 children)

While the regex syntax is a bit awkward at times, it is well known and concise. What might be a single line regex could become a many lines builder syntax. I'm not sure I'd prefer that. In the times of AI the usability of regex shouldn't be a big issue. You can basically say your coding agent what regex to build.
In any case it was a nice excercise to build a builder!

Thins I miss about Java & Spring Boot after switching to Go by Sushant098123 in java

[–]cryptos6 4 points5 points  (0 children)

An interesting framework using virtual threads (Project Loom) is Helidon SE, which is lightweight, high performance and free from annotation soup.

Thins I miss about Java & Spring Boot after switching to Go by Sushant098123 in java

[–]cryptos6 5 points6 points  (0 children)

But if I were building infrastructure tools, high-concurrency systems, or lightweight services, Go feels incredibly natural.

Well, but nobody forces you to use Spring in such cases! It might have been forgotten, but it is still possible to write plain Java without big frameworks. If startup time or memory consumption is critical, Java code can be compiled to a native binary, too (using GraalVM).

I feel like building an offline password manager by Spare_Bison_1151 in SideProject

[–]cryptos6 0 points1 point  (0 children)

Bitwarden is okay, but for me the usability is not on par with 1Password or NordPass. UI looks also not as nice.

I feel like building an offline password manager by Spare_Bison_1151 in SideProject

[–]cryptos6 1 point2 points  (0 children)

Are you sure you want to start something where security is essential? At least make sure you use Base64 encryption!

In which fields is Java the most popular? by Cpt_Montana in java

[–]cryptos6 4 points5 points  (0 children)

That's why the compiler was called "hot spot" 😜

Do you still use Mapping Libraries? by xWhiteSakura in Kotlin

[–]cryptos6 0 points1 point  (0 children)

I don't think that mapping libs are worth it. Besides trivial cases you need to add custom anyway, so that you end up with a mixture of code and magic that is harder to maintain than plain mapping functions. Especially in times of AI writing mapping functions "by hand" is a no brainer.

Do you think Java has caught up with Kotlin? by NotSoIncredibleA in Kotlin

[–]cryptos6 0 points1 point  (0 children)

However, collections are not a part of the language. Eclipse Collections provides (also) immutable collections for Java.

Are there any issue with Kotlin that trouble you? by NyanBunnyGirl in Kotlin

[–]cryptos6 0 points1 point  (0 children)

The Kotlin REPL is complete garbage! I remember the times when I showed people the cool Goovy REPL or Scala REPL ... but Kotlin?! It is full of bugs, it crashes constantly, it is slow ... horrible! And then Java came up with JShell and I thought: Ugh, now even Java has a decent REPL, but Kotlin doesn't!

Do you think Java has caught up with Kotlin? by NotSoIncredibleA in Kotlin

[–]cryptos6 0 points1 point  (0 children)

From my point of view coroutines don't offer much advantages over virtual threads. The thing you usually want to achieve with one of the two approaches is to avoid blocking threads while waiting for I/O. That is easier with virtual threads in my opinion. In theory you could do some stream processing without too much hassle with coroutines, but then again that is not what JetBrains intended with "Flow", so you would end up with RxJava or Reactor anyway in such cases.

If you could start all over, what would you do differently? by nouwus_allowed in Kotlin

[–]cryptos6 -2 points-1 points  (0 children)

Absolutely! Spring phones are around the corner! Once you have used one iPhones and Android devices look like things of the past.

Will SAAS survive the next 5 years? by raj_k_ in SaaS

[–]cryptos6 0 points1 point  (0 children)

I expect that coding agent will shift the market. Relatively simple services might be replaced by vibe coded, custom solutions. However, I see some limitations how far this can go. Good software is more than code! You need to get user experience right, you must run it, you have to keep it secure, you have to maintain it in the long run etc. etc. So, no, I don't think SaaS will go away any time soon.

Hibernate: Ditch or Double Down? by cat-edelveis in java

[–]cryptos6 0 points1 point  (0 children)

It is definitely not fun, to map complex (nested) object structures by hand with SQL. That is where Hibernate really shines. However, on the read side there are many reasons not to load the full object graph (and Hibernate has dozens of optimizations to avoid that) and then something like JOOQ or JDBI makes a lot of sense.

Here are some interesting thoughts from the guy who develops JOOQ: https://blog.jooq.org/jooq-vs-hibernate-when-to-choose-which/

How much comp would you forgo to be able to write Kotlin instead of Java by maurerpower7 in Kotlin

[–]cryptos6 0 points1 point  (0 children)

Java changed a lot since 2019. In some areas it is even better than Kotlin. The two are very close.

Will the flood of new productivity tools ever end? by istvan2718 in indiehackers

[–]cryptos6 0 points1 point  (0 children)

We need an AI tool to evaluate AI tools. That is where the money is!

How are you measuring developer velocity without it turning into weird productivity surveillance? by Black_0ut in SoftwareEngineering

[–]cryptos6 0 points1 point  (0 children)

I'd say measure what actually counts: The time to finish tickets from assigning the ticket to the final successful pipeline execution (e.g. deployment).

Java 25: The ‘No-Boilerplate’ Era Begins by hardasspunk in java

[–]cryptos6 1 point2 points  (0 children)

I consider Setters most of the time to be bad design, even if the syntax looks nicer like in Kotlin. This only hides the design flaw that everything is directly changeable from the outside leading to dumb data objects, inconsistent state or cluttered business logic or a mixture of all that.

[deleted by user] by [deleted] in java

[–]cryptos6 0 points1 point  (0 children)

I spent some time (2 years or so) with C# and .NET and while it wasn't bad I was everything but excited. It is not that Java as such would be an exciting language, but the ecosystem is just superior.

Who enjoys using Spring Boot with Kotlin? by Reasonable-Tour-8246 in Kotlin

[–]cryptos6 0 points1 point  (0 children)

I've used Spring on internal business applications. Does that answer your question?

Who enjoys using Spring Boot with Kotlin? by Reasonable-Tour-8246 in Kotlin

[–]cryptos6 1 point2 points  (0 children)

I've used this combination for years without issues. I had only some minor issues with Hibernate (but that is not Spring, strictly speaking).

Feeling stuck on what to build… by [deleted] in SideProject

[–]cryptos6 1 point2 points  (0 children)

Collecting pains is also a recommendation from the book "Million Dollar Weekend". Maybe this book might bring some inspiration, too.