54 karma · joined Jul 19, 2018 (8y ago) · 67 submissions
comment 1y ago · link · parent
Java is getting better, so maybe in 10 years it'll be a less ergonomic Kotlin variant.
PS: Jetbrains - the company behind Kotlin - started a strategic partnership with the Spring team, to make the combo Kotlin-Spring even better: https://blog.jetbrains.com/kotlin/2025/05/strategic-partners...
PSS: Jetbrains is actually working on an official Kotlin-lsp server: https://github.com/Kotlin/kotlin-lsp So devs in the near future won't be locked into the IntelliJ ecosystem, if that is a concern of yours.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 2y ago · link · parent
latest LTS (longterm-support) version, so currently 21, next 25 (late 2025).
> Does it matter?
new is always better
> what if I have to install/manage multiple versions?
> If I want to write a web service can I use vanilla Java stdlib or do I have to use Spring or some framework?
Spring
> If I use Spring, do I have to get into the weeds of dependency injection
yes, but it's not hard (or I've done it long enough)
> other complexity
that might just be inherent complexity when have to deal with a webservice. personally I dislike have to configure security
So basically go to Spring Initializr (https://start.spring.io/) pick the latest LTS Java&Maven (or Kotlin&Gradle-Kotlin) and You're off to the races.
comment 2y ago · link · parent
As a long-time Kotlin user I can only say: Nullability is nice! Once you know it, you won't want to code without it.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
- Web frontend: TypeScript (maybe Gleam in the future!?)
- Fast performance and iteration if I want a binary: Kotlin (native compiled)
- Blazingly fast and good for WASM: Rust
- languages that I keep an eye on: Gleam, Zig, Odin
- languages that I will never touch: C, C++
- languages that I think are quaint: OCamel, Lisp, Haskel
- languages that I have used in the past and that are fine: Dart
- languages that I have used in the past and that are ok: Java (if it had nullability, it'd be fine)
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
longer version: I think this is the relevant link here: https://github.com/ziglang/zig/issues/16270#issuecomment-161...
as you can see the proposal "make the main zig executable no longer depend on LLVM, LLD, and Clang libraries" has "accepted" status, but that doesn't mean you can't use Clang/LLVM/LLD to compile zig/C/C++ via the zig command. In the comment the link goes directly to Andrew explains that the usecases that require Clang ... are still covered by the zig build system. (Everybody was very worried first in that GitHub issue, but was relieved after reading the clarification. To be fair, that the build system could take over this functionality wasn't known from the start, so it was a very productive discussion.)
comment 3y ago · link · parent