While studying the XRC (XML) markup generated by wxFormBuilder, it struck me that there is a sweet spot in markup "density". Ideally, you could view the entire markup for a typical form on one page and thus see it's entire structure and start to picture the layout of the widgets. However, this goal must be balanced against the convenience of having all properties related to a given widget specified right there, where the widget lives in the markup.
Clearly this is a trade-off of ease-of-writing vs ease-of-reading. The same trade-off is found more generally in programming languages. It's also one of the reasons that CSS is so helpful with HTML - it keeps the HTML short and digestible.
This will be an important consideration when designing stdgui's markup.
No comments:
Post a Comment