I use both svelte and WinForms at my day job.
The designer works quite well initially for laying out the groundwork but after a while it becomes a burden:
- components randomly disappearing but still being there when running the program
- designer crashes
- Small changes that require you to manually drag around 60% of the form, to add or remove one field
Svelte ain't perfect and it requires more scaffolding initially but you get:
- actually good data bindings and state management (in many places you would need event handlers for winforms)
- hot reload (very big win)
- the ability to do greater layout changes with a few css lines (in combination with hot reload quite pleasant to style)
- mass styling without selecting every component every time you want to change something
- native async/await integration in the ui framework
plus the rest of the benefits (not DX oriented)
- gpu rendered instead of cpu rendered
- runs on any OS (including phones)
- advanced responsiveness via CSS
(sorry for the poor text layout, didn't yet find a way to insert line breaks without them being removed)
For smaller apps (dozen input fields or so) the WinForms designer (which has been on life support for well over a decade now!) will get the job done better than anything else out there.
If you want GPU rendered, WPF has you covered. I strongly dislike XAML, even though I like JSX (while disliking data handling in react in general).
The thing about responsiveness is I can make 6 UIs in WinForms faster than I can fix cross platform CSS bugs.
The real issue is WinForms isn't cross platform. :(
Easy to use initially, because of the designer. But as the application scales, it becomes more and more painful. Thinking about components randomly disappearing but still being there, designer crashes. Small changes that require you to manually drag around 60% of the form, to add or remove one field.
I think poster is trying to stay that too many styling options has made for worse UX.
Users can get used to ugly and consistent. On the web and mobile, there is minimal consistency of what a button even looks like, or where site options are to be found, every site looks different and every company has its own style guide.
>Worse developer experience and worse style options though
reply
But better user experience.
Also many styling options are counterproductive for the UX.
A few years back I prototyped a b2b web app using winforms.
At this point in time I'd been writing react for 2 years non stop and I hadn't used winforms for at least 5 years.
I started up visual studio, and used the GUI builder to make a fully featured data bound winforms app connected to my backend in less than a day.
2 months later I had the react version up and running.
Was the react version shinier?
Yes.
But the web development experience is literally orders of magnitude worse.
I use both svelte and WinForms at my day job. The designer works quite well initially for laying out the groundwork but after a while it becomes a burden: - components randomly disappearing but still being there when running the program - designer crashes - Small changes that require you to manually drag around 60% of the form, to add or remove one field
Svelte ain't perfect and it requires more scaffolding initially but you get: - actually good data bindings and state management (in many places you would need event handlers for winforms) - hot reload (very big win) - the ability to do greater layout changes with a few css lines (in combination with hot reload quite pleasant to style) - mass styling without selecting every component every time you want to change something - native async/await integration in the ui framework
plus the rest of the benefits (not DX oriented) - gpu rendered instead of cpu rendered - runs on any OS (including phones) - advanced responsiveness via CSS
(sorry for the poor text layout, didn't yet find a way to insert line breaks without them being removed)
Svelte is my go to on the web as well.
For smaller apps (dozen input fields or so) the WinForms designer (which has been on life support for well over a decade now!) will get the job done better than anything else out there.
If you want GPU rendered, WPF has you covered. I strongly dislike XAML, even though I like JSX (while disliking data handling in react in general).
The thing about responsiveness is I can make 6 UIs in WinForms faster than I can fix cross platform CSS bugs.
The real issue is WinForms isn't cross platform. :(
I strongly disagree with that. WinForms is imho very easy to use.
Easy to use initially, because of the designer. But as the application scales, it becomes more and more painful. Thinking about components randomly disappearing but still being there, designer crashes. Small changes that require you to manually drag around 60% of the form, to add or remove one field.
Better user experience and many styling options are counterproductive for the UX.
Better user experience (UX) is counterproductive for the UX... wut
I think poster is trying to stay that too many styling options has made for worse UX.
Users can get used to ugly and consistent. On the web and mobile, there is minimal consistency of what a button even looks like, or where site options are to be found, every site looks different and every company has its own style guide.
>Worse developer experience and worse style options though reply But better user experience. Also many styling options are counterproductive for the UX.
Now it's more understandable what I tried to say.