On the other hand, jQuery is not just a lot of code, it's tested code
I haven't really looked at it from that point of view, I guess that is a pretty a pretty big advantage. The basics of writing a widget are pretty simple most of the time, but testing it on different browsers and edge cases always takes more time than I think it will.
Before I started using jQuery, I hadn't thought of it that way either. But after seeing that something that would normally take me days to program (in a way that it'd work in IE7, for example) only took me hours in jQuery, and finding that, indeed, it worked in all major browsers right away, I thought of it that way since! :)
Comments
I haven't really looked at it from that point of view, I guess that is a pretty a pretty big advantage. The basics of writing a widget are pretty simple most of the time, but testing it on different browsers and edge cases always takes more time than I think it will.
Before I started using jQuery, I hadn't thought of it that way either. But after seeing that something that would normally take me days to program (in a way that it'd work in IE7, for example) only took me hours in jQuery, and finding that, indeed, it worked in all major browsers right away, I thought of it that way since! :)