the expense of features
February 10th, 2007 by Dylan
With Dojo, we’ve recently been discussing splitting up the toolkit into better, easier to digest, less “expensive” code. To which I asked myself, what does expensive mean, for the creators and users of Dojo?
- download size
- number of requests
- CPU utilization
- memory usage
- # of browser/scenario forks
- complexity/time to get started
- error-proneness
- maintainability
- testability
- marketability
- interoperability
- competitiveness
- distribution
I guess I think that the first item you listed “download size” is the most valuable “expense”, because this is the most important to the end user. If my page takes forever to download, noone will look at it!
Hi Elaine, it was great visiting your Ajax class this week! Download size is highly important… of course, I could write the most innocuous 1K JavaScript that would hang any browser. The emergence of tools like Firebug make it much easier to see which pieces of code are taking long to both load and execute, which is highly useful!