Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8711

Re: Declarations (esp. of Globals)

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="UTF-8"
Message-ID <6273530.hzHQgHVyWp@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Organization PointedEars Software (PES)
Date Tue, 29 Nov 2011 23:42:55 +0100
User-Agent KNode/4.4.11
Content-Transfer-Encoding 8Bit
Subject Re: Declarations (esp. of Globals)
Newsgroups comp.lang.javascript
References <78g8d712uedb7c0ugjgpdrkeg8lnugta14@4ax.com> <Xns9FABE6915254Ainvalidcom@94.75.214.39> <3004275.SPkdTlGXAF@PointedEars.de> <lCs$duD4yP1OFwfC@J.A830F0FF37FB96852AD08924D9443D28E23ED5CD>
Followup-To comp.lang.javascript
MIME-Version 1.0
Lines 27
NNTP-Posting-Date 29 Nov 2011 23:42:56 CET
NNTP-Posting-Host dff88ef0.newsspool2.arcor-online.net
X-Trace DXC=P^2edWO6bI0n`gW2MTm]<3A9EHlD;3Yc24Fo<]lROoR18kF<OcfhCO;Z`RZ1E_PbL?DZm8W4\YJN<;?f@h5gMfb<;hQ?\>7BWc9XCnaZTc`UF6
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:8711

Followups directed to: comp.lang.javascript

Show key headers only | View raw


John G Harris wrote:

> Thomas 'PointedEars' Lahn wrote:
>> Mike Duffy wrote:
>>> Gene Wirchenko <genew@ocis.net> wrote […]:
>>>>      I am a stickler for declarations and prefer to declare
>>>> everything.  As applied to JavaScript, what say you?  And why?
>                                ^^^^^^^^^^
>>>
>>> I agree 100%. In the case of Javascript, even more so.
>                                 ^^^^^^^^^^
>>
>> There is no "Javascript" [1].
>   <snip>
> 
> It's a typing error, […]

Unfortunately, much too often it is evidence of a serious but common 
misconception.  Hence my remark.


PointedEqars
-- 
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
  -- Richard Cornford, comp.lang.javascript, 2011-11-14

Back to comp.lang.javascript | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-11-28 18:25 -0800
  Re: Declarations (esp. of Globals) Mike Duffy <Use_guestbook_page@website.in.sig> - 2011-11-29 03:39 +0000
    Re: Declarations (esp. of Globals) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-29 13:28 +0100
      Re: Declarations (esp. of Globals) John G Harris <john@nospam.demon.co.uk> - 2011-11-29 15:39 +0000
        Re: Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-11-29 12:17 -0800
          Re: Declarations (esp. of Globals) Mike Duffy <Use_guestbook_page@website.in.sig> - 2011-11-29 20:43 +0000
            Re: Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-11-29 13:48 -0800
              Re: Declarations (esp. of Globals) Mike Duffy <Use_guestbook_page@website.in.sig> - 2011-11-29 22:11 +0000
                Re: Declarations (esp. of Globals) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-29 23:52 +0100
                Re: Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-11-29 15:11 -0800
                Re: Declarations (esp. of Globals) Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-30 04:31 -0800
                Re: Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-11-30 14:18 -0800
                Re: Declarations (esp. of Globals) Scott Sauyet <scott.sauyet@gmail.com> - 2011-12-01 06:31 -0800
                Re: Declarations (esp. of Globals) "Tom de Neef" <tdeneef@qolor.nl> - 2011-12-01 11:34 +0100
                Re: Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-12-01 11:57 -0800
          Re: Declarations (esp. of Globals) Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-29 13:36 -0800
            Re: Declarations (esp. of Globals) Gene Wirchenko <genew@ocis.net> - 2011-11-29 15:13 -0800
            Re: Declarations (esp. of Globals) John G Harris <john@nospam.demon.co.uk> - 2011-11-30 17:03 +0000
        Re: Declarations (esp. of Globals) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-29 23:42 +0100

csiph-web