25 ms·
No one is scared of C# and Swift, XAML and so on, but these technologies aren't even close to what you have available on the web. React and Redux make apps poss
by mlsarecmg 10y ago
No one is scared of C# and Swift, XAML and so on, but these technologies aren't even close to what you have available on the web. React and Redux make apps possible that you wouldn't get with older technologies, not even with 10 times the effort and code. The animation possibilities, transitions, the flexibility overall, the eco system, debugging capabilities, hot module reload - if you have worked with it, you will not want to go back. Case in point, modern apps like VSCode, Atom, Hyperterm, Discord do things that would be very hard for a native app to mimic, and they do that with absolute ease.
I agree though that Electron is a problem. React native will probably be the best way forward. Microsoft has recently taken over RN-Windows and ReactXP, a RN-web clone. RN runs natively, doesn't need a browser, while being able to tap into the JS eco system.
- true_religion 10y agoWhat is VSCode doing that's impossible to do in a native application? I'm curious, since I use PyCharm and I wonder what I could be missing out on.
- zo1 10y agoYou get to write plugins for it in Javascript. That seems to be the big thing about it. I've tried it, the hype is just fluff.
- mlsarecmg 10y agoSee the wider picture, how flexible they are and how fast they grow. Their freedom in making things possible that would be very hard to realize. The shell that i'm using for instance, Hyperterm, it does things no other shell can do, and they had more than a decade to evolve. JS doesn't have a problem displaying json as json, display webpages on link clicks, moving up git logs with my trackpad, adding tabs with a plugin that contains a few lines of code and a little css, ... it just comes easy to JS. The same flexibility you see in Atom, VSC and the others.
- FridgeSeal 10y ago> JS doesn't have a problem displaying json as json... You know what else doesn't have a problem doing this? Literally any other programming language or tool that I've ever used to look at/edit Json. > Hyperterm, it does things no other shell can do...display webpages on link clicks moving up git logs with my trackpad, adding tabs with a plugin that contains a few lines of code and a little css, ... it just comes easy to JS.... Any pretty much any other terminal built with flexibility and extensibility in mind (even the base terminal in Linux can handle links lol, that's definitely not exclusive to js). ZSH springs to mind, with the benefit of being written in Case, so that you know, it's actually fast... > The same flexibility you see in Atom, VSC and the others. Ah yes, including the freedom to not open any binary file, or any file >2mb in size!
- LeoNatan25 10y agoAh, the wonders of discovering the observer pattern. It's really a life "changer". How did the computer world survive for so many decades without it.
- mlsarecmg 10y agoExplain? Redux isn't even close to observables in other systems. It's the immutable pattern that's a life changer if anything.
- Sophistifunk 10y agoRedux and co are still the same pattern fundamentally, it's just that the implementing code is spread throughout your stack, instead of in an "Observable" implementation. That combined with an optimisation allowing identity and state equality to be conflated.
- mlsarecmg 10y agoI don't know what you're saying, this is the complete opposite. Redux was made to centralize, because observables are literally spread throughout the stack. The entire logic is combined in composeable containers, later wrapped in a single store. Flux pattern is also completely different in how it works, there's almost no similarity whatsoever. http://iweave.com/assets/blog/mvc_v_flux.png http://iweave.com/assets/blog/mvc_v_flux.png
- LeoNatan25 10y agoThat's not MVC. That's the MVC Facebook attempts to show in a ridiculous presentation that finally convinced me how much they had to misinform to get these silly concepts any legitimacy.
- mlsarecmg 10y agoThat is exactly how a .NET WPF application worked, and that's also how MVC communicates in general. The flux pattern is very different from it.
- mtberatwork 10y ago> React native will probably be the best way forward. ... RN runs natively, doesn't need a browser, while being able to tap into the JS eco system. Similar arguments were made when Java first came on the scene. "Write once, run anywhere." [1] Years later, here we are again with "native" Javascript libraries. I'm sure in another 20 years or so we'll be rehashing this again, just with some other language. [1] https://en.wikipedia.org/wiki/Write_once,_run_anywhere https://en.wikipedia.org/wiki/Write_once,_run_anywhere
- dangoor 10y agoJava Swing wasn't native, though. SWT is more comparable. React Native isn't "native" (in quotes), it's native... it uses the actual widgets provided by the host OS. You use similar techniques to create your UI for each platform, but you do generally need to create separate UI for each platform with React Native.
- douche 10y ago> these technologies aren't even close to what you have available on the web Yeah, they're that much better, that we grumpy old non-JS programmers keep wondering what the big deal is when somebody comes along and rewrites something that existed 20 years ago.
- mlsarecmg 10y agoThat isn't the point. JS does something the others can't. It has flexibility and a community that's larger than anything you know plain and simple. Btw, i am a grumpy non JS developer, or used to be. Started with assembler, c/c++, then c#. That sums up most of my professional career. I was wrong judging JS too fast, that's all i'm saying. Many of my colleagues are still grumpy about it, they'll get over it over stay behind. If they do move on they will see what they're missing soon enough.