Hacker News new | ask | show | jobs
by MaxBarraclough 2239 days ago
Great answer, thanks.

> code-generation rather than the reflection-like runtime binding system that WPF has

That's a good move. If a convenient abstraction can be implemented in a way that 'compiles out', it ideally should be implemented that way. Does this enable more compile-time checks?

1 comments

Yes, in WinUI you get build breaks if you have a typo in your property name :)

It also adds the ability to bind to functions, which can eliminate a lot of ViewModel boilerplate for computed properties.