I hate HTML

roguemat

Expert Member
Joined
Dec 13, 2005
Messages
2,025
Reaction score
16
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 :)
 
I'm not a web developer and since I mostly work in C# these days, I got to agree.

I wish it was possible to make websites in XAML. Maybe just because I'm used to it... but it's so much easier to accomplish a proper layout compared to HTML.
 
Why would you try to "center a div" with HTML?. We use Cascading Style Sheets (CSS) for that :wtf:

div {
margin: 0 auto;
}

Well, erm, because I have a div that I want in the middle of something.
 
It's even worse if you want you center it vertically.
 
HTML5 + CSS + javascript - use the whole package.
HTML without CSS is pretty useless, I agree
 
Wait, you are a Silverlight developer.. and you hate HTML?

I can think of worse things to hate - like Silverlight.
 
HTML 5 + CSS 3 + Jquery will give any front end developer a run for their money (If you know what you are doing)
 
Wait, you are a Silverlight developer.. and you hate HTML?

I can think of worse things to hate - like Silverlight.

+infinity - I've had to deal with getting some of our web apps away off silverlight now for a while - it's a nightmare.
 
Wait, you are a Silverlight developer.. and you hate HTML?

I can think of worse things to hate - like Silverlight.

if you are able to read you would see that I clearly stated that I am just comparing the layout languages, NOT the technology behind them...
 
Silverlight? Seriously?

HTML5 is far from being finished and the language is becoming more dependant on CSS.

Open standards FTW!
 
I read your rant and, having extensive experience in HTML and enough XAML experience to hold my own, I have to say that HTML is much cleaner when combined with CSS. Seperating your style from your content just feels "right" after doing it for a while. Yes, XAML has styling similar to CSS, but it is too cumbersome and verbose...
 
I read your rant and, having extensive experience in HTML and enough XAML experience to hold my own, I have to say that HTML is much cleaner when combined with CSS. Seperating your style from your content just feels "right" after doing it for a while. Yes, XAML has styling similar to CSS, but it is too cumbersome and verbose...

+ 1
 
Top
Sign up to the MyBroadband newsletter
X