Dear Log,
I often have the feeling that very little progress has been made on the Web since, say, 1997.
But all you have to do to dispell that idea is to look at JavaScript Application Cookbook (publication date listed as 1999, which means it was reflects the best practices of 1997).
It contains creaky old stuff like this:
// Define a function to perform the image rollovers function imageSwap(imagePrefix, imageIndex, arrayIdx) { document[imagePrefix].src = eval(arrayHandles[arrayIdx] + "[" + imageIndex + "].src"); } // Define a function a generate the layers function genLayer(sName, sLeft, sTop, sWdh, sHgt, sVis, copy) { if (NN) { document.writeln('...which is about the JavaScript stylistic equivalent of Perl code that starts out:' + copy + ' '); } else { document.writeln('' + copy + '' ); } }
require 'cgi-lib.pl'; &ReadParse(*in); ### READ FORM DATA ###
Progress has been made. I think part if it is that a great deal of Firefox is implemented in JavaScript. That forces a real sort of seriousness on the language. FINALLY! GYAAH!