How do we (the community) encourage people to use so-called best practices?
I want to ask this question as I feel the new release of Visual Studio and indeed the .NET Framework will grosely enlarge the gulf within the development community between those who currently use best practices, and those who do not.
To explain what I mean by this, I'm going to refferr to an article by Wally McClure on the DataSource control that's shipped in VS.NET 2005.
If you look at the article, you'll see, right there on the page, Inline SQL, what's worse than that, is that's EXACTLY what the control is designed to help people do.
I've spent the last few years learning: -
- INLINE SQL IS BAD
- DECOUPLE YOUR UI FROM YOUR DATA ACCESS
There's no Data Access Layer, there's no Business Facade and there's nothing to encourage new users to the platform to even look in to these areas.
I think that as time goes by, and the new platform is adopted, we'll see the divide between those that KNOW how to do it the right way will, and those that don't, won't, worse, the newbies will have no need to learn as long as controls like the SqlDataSource control exist.
What do you think?