So I have been in Silverlight development for the last couple years, barely ever touching website stuff. Before that I was a web developer.
Now today I started making a little site to allow people to RSVP to my wedding - and I am SHOCKED at how ****ty HTML is.
Ok, so before I get hated, I know it's powerful and all that, but have you guys used XAML? I am talking only about the layout engine, not the technology.
And it's just simple stuff, like creating a stack of items, or having a block and centering it. The fact that there are 362million google results for "center a div" is telling (and yes, very unreliable as a metric).
In XAML, to align any UIElement in it's parent container you simply set: "VerticalAlignment=Center/Top/Bottom" and "HorizontalAlignment=Center,Left,Right". And to stack a bunch of elements up you just enclose them in: "<StackPanel>" and you can set it to horizontal or vertical.
Added to that the binding capabilities which put HTML 5 to shame - I just don't get why HTML is such a horrible language.
/rant
Ok, now tell me how much I suck
Now today I started making a little site to allow people to RSVP to my wedding - and I am SHOCKED at how ****ty HTML is.
Ok, so before I get hated, I know it's powerful and all that, but have you guys used XAML? I am talking only about the layout engine, not the technology.
And it's just simple stuff, like creating a stack of items, or having a block and centering it. The fact that there are 362million google results for "center a div" is telling (and yes, very unreliable as a metric).
In XAML, to align any UIElement in it's parent container you simply set: "VerticalAlignment=Center/Top/Bottom" and "HorizontalAlignment=Center,Left,Right". And to stack a bunch of elements up you just enclose them in: "<StackPanel>" and you can set it to horizontal or vertical.
Added to that the binding capabilities which put HTML 5 to shame - I just don't get why HTML is such a horrible language.
/rant
Ok, now tell me how much I suck