JavaScript in 2005
Webdev guru Koch opines that DOM scripting, not CSS, is the correct tool for making behavioural usability enhancements as the DOM is more widely-supported than CSS2. He feels there is nothing like "bad browsers" and recommends these ten good practices for writing JavaScript in 2005.
1. Make sure your JavaScript code is in balance with its environment
2. Create accessible JavaScript
3. Create usable JavaScript
4. Create easy applicable JavaScript
5. Create future-proof JavaScript
6. Know JavaScript's weaknesses, limitations and bugs
7. Often there is more than one good solution
8. Write your own scripts or reuse code from trusted places
9. Optimize your JavaScript code for performance
10. Use tools to optimize your work process
1. Make sure your JavaScript code is in balance with its environment
2. Create accessible JavaScript
3. Create usable JavaScript
4. Create easy applicable JavaScript
5. Create future-proof JavaScript
6. Know JavaScript's weaknesses, limitations and bugs
7. Often there is more than one good solution
8. Write your own scripts or reuse code from trusted places
9. Optimize your JavaScript code for performance
10. Use tools to optimize your work process
Comments
Post a Comment