Skip to content
Brian Donovan-Smith edited this page May 4, 2014 · 1 revision

XAML Styles are single inheritance, CSS Styles are multiple inheritance

This crossed my mind today when I was thinking about CSS and responsive design.

Is it a limitation for XAML styling? Is it a weakness for CSS Styling?

Some of the arguments against C++ and for C# compared single inheritance as an advantage and multiple inheritance is not real-world and never really worked.

I love simplicity, so Single Inheritance is a big advantage for me. I think more people will grock style simplicity and it would only be the CSS gods that can write CSS styles with grace. I have tried to write responsive web pages and the styles ended up a mess as there was no 'goal' as to exactly what responsive was supposed to mean. Obviously experience count, and I lack a lot of that with responsive css styling.

Soo, we can do this, but should we?

Clone this wiki locally