[prev] [thread] [next] [lurker] [Date index for 2005/04/10]
* On 2005.04.10, in <20050410085016.GC4918@xxxxxxxx.xxxxxxx.xxx>, * "Michael G Schwern" <schwern@xxxxx.xxx> wrote: > Last word on all this Javascript crap. > > Sean Burke came up with something interesting, the upshot being that > you write this in your HTML... > > <script type="text/javascript" src="js/bootstrap.js"></script> > <script type="text/javascript" src="js/hello.js"></script> > > And then you can use bootstrap() inside your code. > ... > Final hate: JavaScript's been around for TEN YEARS and nobody's figured > this out yet?? Sure they have. I figured that out on my first JavaScript application, because I immediately found both the browsers I was working with to have horrible implementations for practical development. I've read books that use that, to some extent. This trick provides you a way or reusing some functions and/or data, but it's not a language intrinsic, it's a way of working around browser limitations within the means that the browser provides you for loading code into the parser. I don't know how one would find this kind of trick if one needed to know about it, though. Most people developing JavaScript with browsers just couldn't care less if it doesn't make users' mouse pointers flutterier or their status bars tackier or their right mouse buttons less functional or whatever. -- To get back onto the topic of software hate. Off software hate again: I've yet to find a JS resource in paper or electronic form that doesn't target that kind of inane crap, rather than general-purpose development in a browser context. Admittedly I spend little enough time doing this that I haven't tried to throw much money at the problem, but the money I have thrown has gone pretty much entirely toward telling me how, when doing such inane crap, to detect and play nicely with both Internet Explorer and Netscape, neither of which I really could give a dead goldfish for. -- -D. "Neque porro quisquam est qui dolorem dgc@xxxxxxxx.xxx ipsum quia dolor sit amet, consectetur, NSIT->ENSS adipisci velit." "Quia dolor sit." -- Cicero, De Finibus Bonorum et Malorum.There's stuff above here
Generated at 12:00 on 12 Apr 2005 by mariachi 0.52