Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What UI framework using XML is there where you can end up making silly typos that won't be caught at compile time? Or basically any sort of typo? I would expect any decent XML UI framework is going to have some sort of validation schema defined which will be quite stringent as to what is allowed at a particular level. Not that I like XML Schema.


I'm only familiar with XAML+WPF+C#+VS.

One particular pet peeve of mine is the fact that it won't catch typos in data binding. If I have IsEnabled={Path IsEnabeld} in my XAML, the designer won't catch it. At runtime, the error is silently ignored. It just doesn't work, and no tooling, nothing other than triple checking every line of code will catch it.

Also it's really bad about picking up dependencies cross package, although it might be a problem in my org's config.


ok thanks, I was just thinking of elements and attribute names as being important.


Primarily the two I originally mentioned, WPF and Android, both of which rely on configuration of controls through XML attributes, which are all strings and not necessarily checked for validity at compile time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: