4 ms·
Alas, I feel the same way. After much thought this weekend, I concluded that it was time to move on from PHP. I decided against the any other scripted language
by solraph 6y ago
Alas, I feel the same way. After much thought this weekend, I concluded that it was time to move on from PHP. I decided against the any other scripted language (Ruby, Python), as it felt like more of the same.
Requirements were strict typing, functional programming support, built-in concurrency, decent library support, and real support for both native and Javascript. It pretty much came down to Kotlin or Rust.
I really want to like Rust more, but the library support, and the jobs in my area just aren't there (yet?).
Picking up Kotlin feels like coming home.
- 72deluxe 6y agoWhy not C++ in this area? The more I use PHP the more I appreciate C++'s type system.
- solraph 6y agoNo garbage collection, doesn't compile to Javascript[0] and everything on Android is moving to Kotlin anyway. Just to be clear, my reasons stated above is why I'm moving to Kotlin. I make no claim that other people should or would want the same things. I've realised that I like languages with explicit strict typing, and that allow for a greater level of expressiveness at the cost of a higher intrinsic complexity and the comprehension that requires. [0] https://kotlinlang.org/docs/reference/js-overview.html https://kotlinlang.org/docs/reference/js-overview.html
- jfkebwjsbx 6y agoWhat do you mean by "real support for both native and Javascript"?
- solraph 6y agoCompile to Javascript, and compile to native binaries supported by the core language team.
- cageface 6y agoKotlin is really a fantastic language even without IntelliJ but with IntelliJ it makes these older languages feel archaic. Once you've had this level of explicit typing & null checking, code navigation, and refactoring that really works its very hard to go back. Kotlin also feels like a pretty safe bet since both Google & Jetbrains are backing it.