I think you would be surprised just how much of that crud there is. I know a lot of people jumped from doing Access applications to coding ASP VB Script during the Internet boom, without really considering how the platforms are different.
This produced some of the worst code I have ever seen. Code that was both nearly unreadable and performed horribly, running web sites that where tied to various IE extensions and depended on IE HTML bugs to display correctly.
There where several cases where I fixed performance problems in our application by doing nothing but throw out unneccisary temp tables. People too used to using Access's ability to base a query on query would do the same thing in SQL by dumping the result of one query into a temp table then doing a query on the temp table that dumped it's result in another temp table and so on.
I ran across one git that used Word's export to HTML function to do his basic page layout and then hacked up the Word output with bad recordset code to create an intranet application.
Jay