From: Dan S. <dy...@fu...> - 2000-11-24 23:15:48
|
In JavaScript its debatable whether you should or should not put a semi-colon. The javascript engine will accept code with or without it, and by not putting semi-colons you're saving yourself a byte per line. I've never been one to do whitespace compression cause I just feel it's more trouble than it's worth. Jar and gzip compression is a lot more reliable and compresses more. Lately I've been putting semi's in my js code just by habit. It would be fine with me if we want to standardize either way. Dan On Fri, Nov 24, 2000 at 01:19:04PM -0800, Raymond Smith wrote: > I have to concur. As eloquent as the dynapi, is I am also a bit stifled by the lack of ';'. In addition to complicating debugging it also hampers using any type of code compression (which unfortunately the size of dynapi2 warrants). > > DS > ----- Original Message ----- > From: Doug Melvin > To: dyn...@li... > Sent: Friday, November 24, 2000 11:43 AM > Subject: [Dynapi-Help] Why are there no semicolons?!?! > > > Why is there not a single simicolon in any of these files? > Does javascript not expect a line delimiter? > Would not the code be easier to debug if we knew for a fact that the 'error on line 116' was really on line 116? > > Thank you, > Doug Melvin > Integrated System Solutions: Design, Development, Implementation and Support > Creative-Workshop.com |