this post was submitted on 30 Sep 2023
109 points (91.0% liked)

Programming

17000 readers
253 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 11 months ago* (last edited 11 months ago) (3 children)

Oddly enough Java. If you weren't brainwashed to write the "enterprise Java", it's surprisingly succinct. More so than Go, whose forced "simplicity" ended up making it more verbose.

[–] [email protected] 6 points 11 months ago (1 children)

I've heard that the recent versions of Java are a lot more pleasant to work with. I'll probably still stick to C# though.

[–] [email protected] 5 points 11 months ago

It sort of had a renaissance since Java 8. It incorporated all the best features of other JVM languages.

[–] DeprecatedCompatV2 6 points 11 months ago (3 children)

How do you feel about Kotlin?

[–] swordsmanluke 11 points 11 months ago (1 children)

I fucking love Kotlin.

Access to the massive Java ecosystem, and takes away 99% of the boilerplate that everybody loves to hate. AND introduces Optional types to make Null-management better. AND smart, type-aware hinting in the editor so that if you've validated once that x is not null, you won't get warnings downstream - unless your variable could be altered by another thread, which is an important thing to know.

Kotlin is Java with all the suck taken out.

...And the Kotlin compiler is compatible with Java, so you can migrate one file at a time or just try it out in a subsection of your codebase...

It's just... chef's kiss

[–] [email protected] 2 points 11 months ago

It's pretty good. I'm trying to use it more in my personal projects.

[–] [email protected] 1 points 11 months ago

@DeprecatedCompatV2 @dingleberry I mean…I’m not totally versed, I’m still learning but I don’t hate it.

[–] JackbyDev 2 points 11 months ago

Same here. Java has a great ecosystem of tools too.