Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Mike Duffy Newsgroups: comp.lang.javascript Subject: Re: Declarations (esp. of Globals) Date: Tue, 29 Nov 2011 03:39:53 +0000 (UTC) Organization: Your Company Lines: 20 Message-ID: References: <78g8d712uedb7c0ugjgpdrkeg8lnugta14@4ax.com> NNTP-Posting-Host: 8GXtu24jXTHJm9OLlhLTEQ.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: Xnews/5.04.25 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:8694 Gene Wirchenko wrote in news:78g8d712uedb7c0ugjgpdrkeg8lnugta14@4ax.com: > 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. My coding philosophy is a bit different than most of the people here. I am a firm believer in learning "barely" enough. This gives me the time to learn barely enough about a much wider range of subjects than I could if I decided to become an expert at anything. Thus please don't take my advice too seriously. If you want a good laugh, just take a look at my js libraries on my web-site. Yessir! I wrote my own. I would advertise them here if not for the fact that they are 100% perfect for my utilization and about 0% for everyone else. -- http://pages.videotron.ca/duffym/index.htm