Miscellanea 11
Why I Prefer the MVC/Model 2 Style over WebForms
Fair point, sort of. Most of the time, when building an application using WebForms, all the "gunk" that sits under the hood is mercifully not apparent. Given the ease with which it's possible to build an application with WebForms, the cost is far outweighed by the benefits in the majority of cases. That said, it's always about using the best tool for the job.
Abusing "as" operator
Hello Mr NullReferenceException. I saw something, somewhere, where someone proposed a technique they'd like to see included in C# for handling this scenario, so null's in a chain like that could be handled more elegantly. Come on C# language guys, make it so!
HTML Validation: Does it matter?
No, hurrah - the voice of reason. It doesn't. Well, it's not the be all and end all it's made out to be anyway. It helps, it's a nice to have. It certainly shouldn't be the overriding concern though. The "best bit" is the point regarding taget="_blank" not being permitted. The only reason I can see for this not being permitted is because someone who doesn't live in the real world wrote that part of the standard.
Fair point, sort of. Most of the time, when building an application using WebForms, all the "gunk" that sits under the hood is mercifully not apparent. Given the ease with which it's possible to build an application with WebForms, the cost is far outweighed by the benefits in the majority of cases. That said, it's always about using the best tool for the job.
Abusing "as" operator
Hello Mr NullReferenceException. I saw something, somewhere, where someone proposed a technique they'd like to see included in C# for handling this scenario, so null's in a chain like that could be handled more elegantly. Come on C# language guys, make it so!
HTML Validation: Does it matter?
No, hurrah - the voice of reason. It doesn't. Well, it's not the be all and end all it's made out to be anyway. It helps, it's a nice to have. It certainly shouldn't be the overriding concern though. The "best bit" is the point regarding taget="_blank" not being permitted. The only reason I can see for this not being permitted is because someone who doesn't live in the real world wrote that part of the standard.

Leave a comment