Hacker News new | ask | show | jobs
by skull723 1326 days ago
I'm not using it because I still have to write getters and setters like a caveman.
3 comments

Hello.

I am from the international church of record.

Do you have time to talk about our lord and savior `record classes`?

https://docs.oracle.com/en/java/javase/15/language/records.h...

This is actually a big thing for me, even though you can auto generate with IDEs, Java feels very verbose, even when using the Stream operators.

I just learned C# 2 years back and it opened my eyes to basically Java with less boilerplate. Now with ASP.NET, it's the same thing. It's Spring Boot with less boilerplate and more streamlined.

I push new projects to use .NET as much as possible.

Don't write getters and setters.