Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #9075
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Silly Newbie Mistake |
| Date | 2011-12-09 21:07 +0000 |
| References | <nojtd7pb39ofku9j7a1bi6pog635kga2ua@4ax.com> <406b3f7c-66d2-45b4-96c1-6be1153efcce@l19g2000yqc.googlegroups.com> <3u42e7d2uq84hj3hnqjs2o774lk0dh1mt2@4ax.com> |
| Message-ID | <THLbIkJ2hn4OFwQ6@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| Organization | Home |
| From | Dr J R Stockton <reply1149@merlyn.demon.co.uk> |
In comp.lang.javascript message <3u42e7d2uq84hj3hnqjs2o774lk0dh1mt2@4ax. com>, Thu, 8 Dec 2011 11:49:04, Gene Wirchenko <genew@ocis.net> posted: > I am not getting error messages. I simply get no page display. >This makes tracking down errors considerably more difficult and >time-consuming. The biggest mistake made by beginners, and you are manifestly a beginner here, whatever else you may have done before, is to change too much between tests. If, between two tests, you only change one line of code (keeping the old line as comment), then, when it no longer does what you expect, the fault must have something to do with the difference between the two lines. Another general trick, in a language where undeclared variables are permissible, is to write "banana" just after the new part (assuming that you are not programming vegetably). You know then that you should be getting an error message (unless you have written an infinite loop); and, if it is banana, at least your code above had a measure of acceptability. That also serves to prevent subsequent code interfering with any visible evidence that there may be. -- (c) John Stockton, nr London UK. replyYYWW merlyn demon co uk Turnpike 6.05. Web <http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A. Web <http://www.merlyn.demon.co.uk/news-use.htm> : about usage of News. No Encoding. Quotes precede replies. Snip well. Write clearly. Mail no News. .
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-06 18:32 -0800
Re: Silly Newbie Mistake "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-07 08:43 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-07 10:16 -0800
Re: Silly Newbie Mistake "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-08 21:28 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 14:36 -0800
Re: Silly Newbie Mistake Tim Streater <timstreater@greenbee.net> - 2011-12-08 22:39 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 17:10 -0800
Re: Silly Newbie Mistake Tim Streater <timstreater@greenbee.net> - 2011-12-09 10:13 +0000
Re: Silly Newbie Mistake "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-08 23:41 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 17:15 -0800
Re: Silly Newbie Mistake "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-09 08:59 +0000
Re: Silly Newbie Mistake Mike Duffy <Use_guestbook_page@website.in.sig> - 2011-12-09 13:03 +0000
Re: Silly Newbie Mistake Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-12-09 15:39 +0100
Re: Silly Newbie Mistake Mike Duffy <Use_guestbook_page@website.in.sig> - 2011-12-10 00:40 +0000
Re: Silly Newbie Mistake Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-12-10 13:19 +0100
Re: Silly Newbie Mistake "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-09 15:13 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-09 10:01 -0800
Re: Silly Newbie Mistake "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-10 15:07 +0000
Re: Silly Newbie Mistake Norman Peelman <npeelmandog@cfl.rr.com> - 2011-12-09 06:44 -0500
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-09 10:04 -0800
Re: Silly Newbie Mistake Steve Wakeford <wakeford83@gmail.com> - 2011-12-07 05:40 -0800
Re: Silly Newbie Mistake Tim Streater <timstreater@greenbee.net> - 2011-12-07 15:35 +0000
Re: Silly Newbie Mistake Jacob Block <jacob.block@gmail.com> - 2011-12-07 09:20 -0800
Re: Silly Newbie Mistake Jacob Block <jacob.block@gmail.com> - 2011-12-07 09:25 -0800
Re: Silly Newbie Mistake Richard Cornford <Richard@litotes.demon.co.uk> - 2011-12-08 03:56 -0800
Re: Silly Newbie Mistake "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-08 11:31 -0700
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 11:49 -0800
Re: Silly Newbie Mistake Tim Streater <timstreater@greenbee.net> - 2011-12-08 21:35 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 17:22 -0800
Re: Silly Newbie Mistake Richard Cornford <Richard@litotes.demon.co.uk> - 2011-12-09 05:04 -0800
Re: Silly Newbie Mistake Dr J R Stockton <reply1149@merlyn.demon.co.uk> - 2011-12-09 21:07 +0000
Re: Silly Newbie Mistake Ross McKay <au.org.zeta.at.rosko@invalid.invalid> - 2011-12-09 09:47 +1100
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 17:26 -0800
Re: Silly Newbie Mistake Ross McKay <au.org.zeta.at.rosko@invalid.invalid> - 2011-12-09 12:47 +1100
Re: Silly Newbie Mistake Dr J R Stockton <reply1149@merlyn.demon.co.uk> - 2011-12-08 19:40 +0000
Re: Silly Newbie Mistake Gene Wirchenko <genew@ocis.net> - 2011-12-08 17:24 -0800
Re: Silly Newbie Mistake Dr J R Stockton <reply1149@merlyn.demon.co.uk> - 2011-12-10 23:41 +0000
Re: Silly Newbie Mistake kiran <kiranmbadi@gmail.com> - 2011-12-08 17:18 -0800
Re: Silly Newbie Mistake "J.R." <groups_jr-1@yahoo.com.br> - 2011-12-10 17:03 -0200
csiph-web