4 ms·
JS apps being faster to develop than C# ? Maybe prototype, but .NET/C# are superior dev platforms in every way.
by moonchrome 11y ago
JS apps being faster to develop than C# ? Maybe prototype, but .NET/C# are superior dev platforms in every way.
- junto 11y agoDidn't Xamarin compile the C# to native? Isn't this an apples to oranges comparison?
- moonchrome 11y agoI'm not talking about execution performance - I'm talking faster to develop for. It might be faster to get "hello world" running in JS but once you have a few people working on a project and need to do nontrivial stuff not provided by "JS framework X" (in this case React) you'll see the value of having sane language semantics, static typing, tools and a mature ecosystem (much higher quality than JS).
- iLoch 11y agoThese tools exist in Javacript. I'm not saying C# is inferior at all, but JS is not inferior to C# here. TypeScript/Flow are backwards compatible with JS so you can add static typing to your JS at any time. React Native is capable of doing anything a native runtime can do because it too is native. High quality tools do now exist that bring type checking, Intellisense, hot module replacement, etc.
- kristianp 11y agoI think the reasoning behind this is that react allows you to almost instantly see the result of code changes in your app. With c# you have to wait minutes for each build and deployment cycle, which is painful. In terms of runtime performance, I guess in theory c# should be faster than javascript, but it depends on a lot of things, like the program being run, the speed of the mono runtime on the android or IOS platform being used, etc.
- ghuntley 11y agoXamarin has continuous/live coding. If you're doing the code -> compile -> deploy -> watch dance then you're doing it wrong. https://www.youtube.com/watch?v=lH90fVkXQx8 https://www.youtube.com/watch?v=lH90fVkXQx8
- kristianp 11y agoCool, thanks.
- iLoch 11y agoThe reasoning is that with Xamarin you're still writing imperative code (AFAIK) whereas React is declarative. The result from a perspective of creating UI is that it's much faster and easier to create a UI in React. I don't think anyone would disagree with me here unless they haven't used React.