Re: Javascript: Time Traveller From the Year 1962!

[prev] [thread] [next] [lurker] [Date index for 2005/04/10]

From: Geoff Richards
Subject: Re: Javascript: Time Traveller From the Year 1962!
Date: 01:47 on 10 Apr 2005
On Sat, Apr 09, 2005 at 03:49:12PM -0700, Michael G Schwern wrote:
> ...
> 
> This is Bad.  This discourages modular programming.  This leaves everyone
> to reimplement basic functionality over and over again.  That's the hate
> I'm talking about.  Anything that involves putting the include functionality
> into the web page, be it <script> or SSI or whatever, has that hate.

I was actually suggesting putting the SSI in the JavaScript source
files.  Then it would be just like having a real JS 'include' directive,
except with a rather odd syntax.  The only problem I can see is you'd
have to update the modification time on the 'main' JS file whenver one
of the included ones was modified, to get cached versions updated.

-- 

--- Geoff Richards -------------><-------------- http://ungwe.org/ ---
"I tried to fling my shadow at the moon,
 The while my blood leapt with a wordless song."  --  Theodore Roethke
There's stuff above here

Generated at 12:00 on 12 Apr 2005 by mariachi 0.52