Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because it saves my company 66% in development costs.


It takes 3x as much effort to write an application in Qt than using web technologies?


Probably much more than 3x


"Probably"? On the contrary, the incredible complexity of the JS ecosystem makes it likely easier to write in Qt.

I've had direct experience with this myself - with no prior Qt or webdev experience (although knowledge of how JS the language works), it took me only around an hour to figure out how to write a Qt application - but after 5 hours (and counting) of struggling with Angular, I wasn't able to figure out how to use it.


Can you share how you learned? I've spent a lot of time trying to learn how to use Qt but it's very complex and hard to experiment with.


A co-worker gave me a PyQt application to hack on, and I just started searching things like "PyQt add keyboard shortcut".


I wasn't even talking about the penalty of writing a Qt application in C++.

That's a different penalty. Qt doesn't really compare with what can be done with a good UX/UI dev on the team, and in much less time. And there are far more front-end devs than Qt experts.


> Qt doesn't really compare with what can be done with a good UX/UI dev on the team

Those are orthogonal. UI/UX is platform-agnostic - if you're only developing Electron UIs, you're not actually good at UI/UX.

> in much less time

Are you telling me that an Electron developer will be able to implement a system significantly faster than an equally-experienced Qt developer?

> there are far more front-end devs than Qt experts

You don't need to be an "expert" to use Qt - it has a relatively simple API for simple use-cases - it's not rocket science or distributed computing.


> Are you telling me that an Electron developer will be able to implement a system significantly faster than an equally-experienced Qt developer?

Yes. Hands down.

I'm actually saying two things: there are far fewer Qt developers, and the learning curve is much steeper. This has huge impact on maintaining and improving the code. We started with Qt and abandoned it because it is way easier to bring someone new in and get them started than having someone climb the curve to learn Qt and C++. Plus spinning up new features in Qt is laughably slow compared to how quickly a frontend dev can do the same in Electron: the former takes days, the latter is practically interactive.

It was such a clear choice to abandon Qt.

I was primarily worried Electron wouldn't last long, but we wrote our first app with it 6 years ago and it has remained completely stable. The biggest dev hits have been in Node peripheral support as they get better, like BLE and serial port interfaces.


Who is doing the writing?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: