Other language built around IDE support: Delphi. The compiler was built with callbacks to provide code completion; it runs in process, as a DLL, as part of the IDE. No accident that Hejlsberg also design C#, and innovated further with TypeScript's language server. He wrote the original Turbo Pascal (IDE + Compiler in the same executable) in assembler, so he's been building IDE + language combos all his life.
Oh Delphi.. every time I fight with CSS and think about how easy making GUI apps used to be almost 20(sic!) years ago, I feel like something went wrong. Mandatory: https://www.youtube.com/watch?v=8pTEmbeENF4
Kotlin Is Better
121–130 of 229 posts
Re: Kotlin Is Better
#122Maybe the founders of Jetbrains are Russian. Not sure.
edit: aha Kotlin is in fact developed in Russia. From Russia with love!
Re: Kotlin Is Better
#123Re: Kotlin Is Better
#124Why is this so, if Java is not inherently slow?
Sure JetBrains are some of the smartest developers around and yet their IDE is still slow.
I can't help but feel that Java is slow and problems with performance in something like IntelliJ do nothing to dispel that feeling.
Re: Kotlin Is Better
#125Put another way, is it a language that makes living in the Java environment less painful, and thus only of value to people who continue to need to live in the Java world?
Why would someone who has never programmed in the Java ecosystem use Kotlin?
I'm surely ignorant and prejudiced but when I read this I thought "Hey why not try Kotlin?", then I thought of Java and images came up in my head of thousands and thousands of files being installed, and the vast, lumbering Java engine cranking slowly and chugging and masses of XML configuration up the wazoo for everything and I shuddered and thought "I'll stick with JavaScript, where the pain of configuration is merely excruciating, as opposed to the pain of Java configuration which is similar to bowing before throne of the Java king of ninth level of hell awaiting punishment for a lifetime of sin.".
Re: Kotlin Is Better
#126Re: Kotlin Is Better
#127Earlier quoted context omitted.
I work on a large Scala team. We use microservices so my regular compile times are somewhere between 4s and 20s. I rarely have to do a full rebuild. IDE support is bad, that's a good criticism but a good chunk of us don't use IDEs, and instead write it like a dynamic language. Live inside the REPL, copy paste back and fourth. As for 'subsets' everyone uses, I find this advantageous. Our team strongly encourages a pur…
Scala IDE support is bad? What IDE are you using? I find IDE support in IDEA almost on par with that of Java. It is very fast, has accurate error highlighting, very good smart autocomplete, understands advanced Scala features, supports most refactoring I care of, but most importantly works reliably.
Kotlin is much more pagmatic (not only) in this regard, what is no surprise coming from a tool vendor.
Re: Kotlin Is Better
#128Having all parameters to be read-only is a deal breaker for me.
Re: Kotlin Is Better
#129Re: Kotlin Is Better
#130the title has been made politically correct - the actual title is "Why Kotlin Is Better Than Whatever Dumb Language You're Using". I wonder if that was intentional editorial oversight.