DEV Community

Discussion on: Why do you love working with your programming language?

Collapse
 
msfjarvis profile image
Harsh Shandilya

In Kotlin, I deeply, deeply love the REPL and the fact that it has extension functions which let me do complexType.thing() rather than Utils.thing(complexType). The stdlib support for this is very rich and offers a metric ton more, so you can do file.inputStream() or 30.seconds for more succint code.

I've also slowly but surely climbed up the Rust proficiency ladder and come to appreciate it's focus on not hiding the nitty gritties of real world scenarios. For example, you cannot call platform specific methods like chmod/chown without an explicit check to ensure the code only runs on Unix. It's borrow checker based memory management model breeds good practices that I can carry to other languages, and the amazing compiler emits actionable, human friendly error messages, sometimes even the code that should have been in place of the code that isn't compiling.