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


Groups > comp.lang.javascript > #8711

Re: Declarations (esp. of Globals)

Message-ID <6273530.hzHQgHVyWp@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2011-11-29 23:42 +0100
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

Followups directed to: comp.lang.javascript

Show all headers | 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