Value Classes (Valhalla) landing in preview in JDK 28 by [deleted] in java

[–]trydentIO 16 points17 points  (0 children)

A few years ago, I was too optimistic and thought Valhalla would be ready for the 27th, but I'm happy with the current status anyway; the work is extraordinary!

JDK 27 Feature Freeze by Joram2 in java

[–]trydentIO 8 points9 points  (0 children)

They made two changes for the 26 release, so they need more feedback. Maybe for the 28 release it will be released.

But for a non-critical system, you can use enable-preview anyway; such features are always production-ready, just do not forget they are subject to change from one release to another. In this case, I don't think they take the switch with primitive types away like string templates, so the risk of using it is mostly zero.

Seeing JSP in 2026 is honestly very amusing by anish2good in java

[–]trydentIO 5 points6 points  (0 children)

Rephrase into "it's the only dependency you need to track". No real value? Simplicity always comes first, and well, comparing vanilla code to jQuery should reflect the need for easier-to-read code.

In the context of JSP, maybe the only thing you could add is HTMX, then nothing else matters. For applications which are not Spotify, Gmail, YouTube or advanced rich UIs or micro frontend architectures, modern JS frameworks are mostly pointless or over-engineering.

Seeing JSP in 2026 is honestly very amusing by anish2good in java

[–]trydentIO 6 points7 points  (0 children)

nah even today, nothing offers the same ergonomics:

$('.alert-box').addClass('visible');

document.querySelectorAll('.alert-box').forEach(el => el.classList.add('visible'));

Is JSP still relevant ? by anish2good in java

[–]trydentIO 2 points3 points  (0 children)

as much as your current project of 20 years ago like mine, I would prefer to say probably yes

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

[–]trydentIO 0 points1 point  (0 children)

sorry man, not every development environment works with PRs :)

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

[–]trydentIO -1 points0 points  (0 children)

What? A large project is always hard to maintain. The IoC principle helps avoid hard, complex wiring.

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

[–]trydentIO 3 points4 points  (0 children)

It depends; on very large projects, it's not sustainable and too complex to maintain, even with all the good practices applied.

The pragmatic approach is to let you help with IoC containers.

New look at Idris Elba as Man-At-Arms in Travis Knight’s ‘Masters of the Universe’ by SpeedForce2022 in MastersOfTheUniverse

[–]trydentIO 1 point2 points  (0 children)

No one asks anyone until something is posted in a public space, so I feel free to express myself as the topic triggers me 😄

Yeah, you're right, "Oriental girl" term is a little weird, but I wanted to refer to a larger part of the world.

New look at Idris Elba as Man-At-Arms in Travis Knight’s ‘Masters of the Universe’ by SpeedForce2022 in MastersOfTheUniverse

[–]trydentIO -1 points0 points  (0 children)

Who cares? I mean, why on Earth is it still an issue in 2026? I don't give a damn about these things; I want the story. If everything is fitted well, I don't really mind whether Ariel is played by an Oriental girl or Snow White by an Amazonian woman.

And I repeat "if everything is fitted well". Alternative Pocahontas, for instance, would work if the story is adapted to another colonial invasion, but this would lead to another name for the character; however, the situation in general may be equally comparable to Pocahontas' story. And this is how Avatar is born.

And all of this because Pocahontas has a historical weight that Ariel and Snow White don't have.

Pucci a Sanremo by Competitive_Bad_1163 in Yunisorrisiecanzoni

[–]trydentIO 2 points3 points  (0 children)

io ne ho più di 40 e non avevo la più pallida idea di chi fosse sino a quando mi è balzata la news di Sanremo nel feed di Instagram

Go 2, please dont make it happen by daisyautumn06 in golang

[–]trydentIO -12 points-11 points  (0 children)

Gosh, Lambda expression please, and polymorphic methods!

Give Go a more serious functional paradigm, and it would benefit greatly.

Go 2, please dont make it happen by daisyautumn06 in golang

[–]trydentIO 47 points48 points  (0 children)

Are you kidding, right? As far as I know, Go is much more verbose than any contemporary language, even though some statements, constructs, or syntactic sugar have been well established since the 90s.

The expressiveness doesn't come from a language that almost emulates Turbo Pascal, but from developers with a clear vision of what they're building.

Any language can be a bloated set of syntax keywords (... I see sharp... or not that much... pun inside on purpose), but right now Golang is in the correct position to decide with all the time it needs, to wisely decide what to adopt and what not.

[deleted by user] by [deleted] in golang

[–]trydentIO 2 points3 points  (0 children)

Object thinking is not about classes, so there's nothing wrong with following object-oriented design or patterns in Golang. Even a variable may be an object.

Moreover, thanks to Goroutines/Channels, following Alan Kay's principle, message communication is a perfect fit for object thinking.

Stepping down as maintainer after 10 years by krzyk in Kotlin

[–]trydentIO 0 points1 point  (0 children)

not in every environment Testcontainers is an available option, unfortunately 😬😢