so, I have gone back to review what made me want to learn programming stuff, I'va have learned more in these last 3 years that whatever I could have ever learn in a while, Some day I just woke up saw a windows 8 app development announcement somewhere and it got my attention, at the time I was studying to be a nutritionist, so I was not even aware of what would be ahead of me.
I was lazy and wanted computers do most of my stuff for me, so I had some spreadsheet calculations that I felt they were too boring to fill, so I tried an even more automated solution for that I realized that the only way I would get that was going to be if i started learning on how to develop such things. I left it there, and continued with my life, few months later I dropped school and wander around thinking what I wanted for my life, I went back to the university but this time on the last minute I changed my decision for an IT career.
At the time, windows 8 came and people were looking at it as complete garbage, I didn't feel it that way, on one of the final projects I delivered that "automated solution" I wanted for you can see the repository here
just a warning you will see a lot of jQuery and a bunch of repeated code that may make you throw up. On my defense hahaha is that I was just learning.
Few years later here we are writing this piece.
Electron now days is a pretty much flexible place, you can do amazing suff with it, from USB Boot makers like Etcher or the famous (or infamous) Slack app, Spotify while it is not made with electron I understand that it has been made with Nw.js but in the end it's the same concept, now Electron while praised by many it's HATED (yes with uppercase) for some other people, there are even some clones of Steve Balmer saying that Electron is a Cancer.
Jokes aside, The complaints go for many places, from security to performance, to It's not native. now, the security stuff got so intense recently that for Electron 2.0 Github decided to include Warnings for most of the common security flaws there and whill you be surprised that many of the stuff you usually do doesn't adhere to CSP rules? of course the most common case would be that you use a bundler and the runtime you use is completely fine with CSP
But while many say it's not native you can still call some API's inside electron to do native stuff like notifications
Electron might not be the holy grail, because it isn't but one of the most important things about it (if not the most important) is that you can Crosscompile to Windows, MacOS, and Linux, This right here is the most important thing for me and the sole reason I believe it became so popular, share code between different operating systems
The universal windows platform is a cool concept in theory, having apps that behave well in different platforms and sharing most of the code at basically close to no cost (there might be some cases where it's not that good I guess), Phones, Tablets, Desktops, Hololens, Surface Hub, Xbox,IOT, You name it wherever microsoft is, you should be able to deploy an application from the store once you have built it.
It's basically one thing
so take aways
I do love both solutions I am not here to bash anyone this is just my opinion and my recapitulation of how I felt it happened these last years.
So with all of this information I just gave you out of nowhere but my experience over the last years what do you think? why people choose electron over UWP? if you made Electron apps Why Didn't you chose UWP?
Share your thoughts with me!
Is there something wrong? Raise an issue!
Or if it's simpler, find me in Twitter!