4 ms·
Debugging data binding is hard. There could be a tighter coupling and type safety between view model and view. MVVM could be better integrated. The syntax gener
by maxxxxx 7y ago
Debugging data binding is hard. There could be a tighter coupling and type safety between view model and view. MVVM could be better integrated. The syntax generally could be simplified (MVC did this when they introduced Razor). There is a lot of room for improvement. The foundation is very good but very hard to learn and you need a ton of obscure little tricks.
The .NET 5 doesn’t address any of these. They do a lot of good stuff for server side development but the story for desktop development is bad.
- JamesBarney 7y agoI mentioned this elsewhere in the thread but you can get compile time warnings and autocomplete on data binding by adding a design time view model.
- maxxxxx 7y agoTo some degree yes but it really doesn't work well for complex cases. During runtime they spit out data binding warnings too but these are hard to trap. at least I haven't been able to figure it out.
- wiso 7y agoAgree. That's why we have this for Avalonia XAML debugging (XAML is compiled to IL) https://www.youtube.com/watch?v=9VtwwEL1SJM https://www.youtube.com/watch?v=9VtwwEL1SJM