> Time in web applications is not used looking up array lengths - it's used in IO, layout, and DOM manipulation.
Unless you're implementing a cross-browser stable sorting algorithm for manipulating tables 50,000 rows long or longer (that was exactly my most recent project). Don't say "it should be done on the server" because that statement is true only as long as everybody keeps writing bad Javascript.
Comments
> Time in web applications is not used looking up array lengths - it's used in IO, layout, and DOM manipulation.
Unless you're implementing a cross-browser stable sorting algorithm for manipulating tables 50,000 rows long or longer (that was exactly my most recent project). Don't say "it should be done on the server" because that statement is true only as long as everybody keeps writing bad Javascript.