ncyoung.com

JavaScript heebie jeebies

This entry is in the following categories:

Top->Programming->Web->JavaScript/DHTML
 - Older in JavaScript/DHTML: del.icio.us API
 - Newer in JavaScript/DHTML: browser limits and ajax security

Things that scare me:

- pages that throw JS errors
- commented out alert()'s
- missing semi colons
- most uses of document.write()
- most other code that executes inline
- assigning handlers directly to certain high traffic spots (window.onload, etc)
- variables that start with the dollar sign (sorry $() :) )
- variables not init'd with var
- variable names too close to reserved words
- inconsistent indentation
- most extendos



Dated: 03/13/2007