Hacker News new | ask | show | jobs
by palata 167 days ago
> What do you love about them so much?

Memory safety, for one. A whole lot of better defaults (e.g. immutability by default). Then the influence of functional programming. Nice async primitives like coroutines.

It's not just Kotlin and Swift. Rust is nice as well. Even Java has actually improved a lot over the years.

Only C++ seems to get worse over the years. It's the only mainstream language where people say "if you limit yourself to a subset of the language, it's actually decent". And every year, C++ brings new stuff that people probably shouldn't include into their "decent" subset.

> You also forget tho, that Linux does exist with a growing popularity

I have been a Linux user for 20 years, I don't forget it. My favourite UI is a CLI, and there, languages like Go or Rust now often make more sense than C++. I am hoping that good desktop GUIs will come eventually, because I absolutely hate the web-based stuff like Electron. Maybe with Compose multiplatform? I hear Flutter is decent there, too.

> I've started GUI development because I was on Linux and most apps had horrible UI/UX

Except for IDEs (I like the JetBrains ones) and browser, I don't use GUIs :-).

1 comments

> Except for IDEs (I like the JetBrains ones) and browser, I don't use GUIs :-).

You said you "hope good desktop GUIs will come eventually, because I absolutely hate the web-based stuff like Electron.", so I guess you still might need to use those. I'm with you, and I'm trying to be part of the change. To be honest, I'm not very much tied to a specific programming language. If the end result is good - stable, performant, with good DX than I'm with it. For me, the current combo works. I'm willing to adapt tho. Slint has nice QML syntax for UI and logic (and the underlying framework) is written in Rust. Its author was once The Qt Company/Nokia developer if I'm not mistaken.

> stuff like Electron.", so I guess you still might need to use those

Yeah, stuff like Slack for work. But there it's a bit different: they chose Electron because it makes them more productive even though it ends up in a worse product. It's sad, but it is rational to produce crap that makes more money.

That would be a reason to use React for a mobile app, maybe. But writing a mobile app in Qt is not more productive :-). I am very convinced it costs more money and results in a worse product.

> But writing a mobile app in Qt is not more productive :-). I am very convinced it costs more money and results in a worse product.

Hope to prove you wrong soon (:

Happy to be proven wrong :)