News for hackers. Stuff that matters.
Re:Electron considered harmful by K0nserv on Thursday November 24, 2016 @12:24PM (#13031433)
I think the points raised are solid, but at this point it seems like Electron is the best worst solution for cross platform UI. Having worked with Qt I never wanna do that again. There's also a much more significant portion of developers who can work on Electron based apps. Part of picking the best tool for the job involves considering maintainability and ease of development after all.
Re:Electron considered harmful by santaclaus on Thursday November 24, 2016 @12:35PM (#13031515)
> Having worked with Qt I never wanna do that again.

I've had to work on PyQt5 at work, and was pleasantly surprised out how easy it was to hack up a full app.

Re:Electron considered harmful by witty_username on Thursday November 24, 2016 @12:42PM (#13031565)
What are your problems with Qt?

I was using PyQt, and I found it nice (Qt's integration is good).

Re:Electron considered harmful by freeone3000 on Thursday November 24, 2016 @03:26PM (#13032560)
C++ Qt, I've found, is an entire separate beast.

It goes out of its way to not rely on the STL, so that std::string and QString are separate, non-convertible classes. QList and std::list<> are the same, same for QMap and so on and so forth. So data communication is already a pain.

We then have further issues with function invocation. Slots and sockets are simple with python, because functions are first-class in python. In C++, they are very much not, so slot-socket binding looks like: connect(sender, SIGNAL (valueChanged(QString,QString)), receiver, SLOT (updateValue(QString)) );

This is less than ideal.

Re:Electron considered harmful by pjmlp on Friday November 25, 2016 @07:29AM (#13036248)
When having to deal with compilers that barely support a mix of C++98 and C++03, Qt is quite good.

STL wasn't always here and still isn't in some embedded platforms.

Re:Electron considered harmful by K0nserv on Thursday November 24, 2016 @12:47PM (#13031600)
I was using C++ Qt. Just found it really unintuitive and difficult to use compared to web technologies and native macOS development.
Re:Electron considered harmful by witty_username on Thursday November 24, 2016 @12:58PM (#13031677)
Could you give an example of something that was unintuitive or difficult to use?