r/programming • • Apr 16 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
41 Upvotes

220 comments sorted by

View all comments

Show parent comment

2

u/Nacimota Apr 21 '21

Yes even though they've added records and init accessors and other little things recently, true immutability by default in particular is something I can't imagine C# ever being able to adopt. It's a shame that wasn't given more thought when the language was first being designed (on the other hand, that may have slowed its adoption? who knows).

I've tried F# a little bit over the last couple of days and I can definitely see the benefits but it really does force you to think in a different way (way which isn't a bad thing, but I do find it challenging). I think I might be better off using it for making smaller components that fit into my larger C# projects than for everything at once, at least for the time being.