by KirinDave · 9y ago · 0 comments
I really wish there was a good option for GUI toolkits. Nearly all are either too primitive to make more than freshmen college (or tenured physics professor) level work or asymptotically approach web browsers without all that tedious attention to improvement and accessibility.
That it's been relegated to boring internal only enterprise app development is pretty sad. I enjoyed working with it immensely.
Also the Qt community is minute compared to the JS community, that is significant.
Use the right tools for the job. Trying to shoehorn everything into "the web" makes everything just as shitty as the web.
i wonder if this expression constitutes a thought-terminating cliché.
'Trying to shoehorn' is just your opinion.
> Use the right tools for the job.
What does that non-sequitur even mean in this context? Use a different native platform to write each native version of the app? That simply isn't viable for anything but very large companies.
Or should I use Qt, with it's tiny support community?
Also why is React/React-Native not 'the right tool'?
> [...] just as shitty as the web.
Again your opinion. In my opinion the web is a joy to work on compared to the cesspool that is native app development.
Maybe React Native will work on desktop and fix all this eventually, but IMO React Native is just not there yet, it doesn't even feel native on mobile.
I say this as someone who writes both an app with both an Electron/React portion (in order mainly to interact with a specific JS library) and a Qt portion. I really do like the way React does a lot of things and npm seems like the exact right way to do package management in a programming language - but the JS ecosystem is a mess. While I'll agree the wealth of developers on it has had many good results, it's also created a horrible moving target. There are half at least 5 different and fairly popular module systems, module loaders, etc. There are constant attempts to use language features which aren't official yet or even at a final spec via babel. The build and packing systems are a mess, everyone has their own different series they prefer and getting working integration between a few can be problematic.
You know, people say this, but I'd like to push back on it. "Platform native feel" is not something that I think most folks care about. You may need it if you're looking to ship an app for a pay-for-a-copy model, but the vast majority of computing hours people spend are already mitigated by their web browser of choice, and that seems to not really cause any substantial problems.
Electron is a flawed framework for building an app, sure, but you could argue Cocoa or Windows Universal are equally flawed in many ways. They also require a lot more code to get equivalent layouts, are almost never very good at reactively resizing (you may say it doesn't matter, I say I unplug in an external monitor and expect to have something sane happen). The fact that a bug exist causing repeated simple draws to be more expensive than expected is normal for text editors. You can find issues caused by similar problems in Sublime, Emacs, and even Notepad++.
What build system did they use?
Where is that package? Does it even exist anymore.
Etc.
Had similar problems trying to maintain a delphi project as an almost fresh from scool developer. At that point I understood the value of Java and Maven.
The platform that JS is based upon moves incredibly fast.