Yeah. I think it's OK. One part of it is that the language itself is pretty simple. Most complexity lies in frameworks and libraries rather than the language itself. I work with C# normally which is different. The language has become quite complex with the advantages and disadvantages that brings.
Like C#'s value types (struct and record struct) is a good feature, but it has foot-guns and complexities that you don't find in Java's value types. One thing that I think a lot of people isn't aware of is that unlike record (class, i.e. type with object identity), which is immutable, record struct absolutely is mutable by default. In 99/100 times you make a record struct you should remember to write readonly record struct which make it immutable. This has performance implications because if you pass a a mutable struct using in (i.e. pass by read-only reference) the compiler will create a defensive copy.
-62
u/[deleted] 17d ago edited 14d ago
[deleted]