Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!ulysses!allegra!princeton!udel!rochester!bbn!uwmcsd1!ig!agate!ucbvax!decvax!decwrl!hplabs!hpda!hpsal2!hpcupt1!hpcllla!hpclisp!hpclskh!skh From: skh@hpclskh.UUCP Newsgroups: comp.lang.misc Subject: Re: Auto declaration of variables Message-ID: <960003@hpclskh.HP.COM> Date: 22 Jan 88 20:12:56 GMT References: <4031@june.cs.washington.edu> Organization: HP ITG/ISO Computer Language Lab Lines: 12 Posted: Fri Jan 22 15:12:56 1988 >>> ... I love having not to declare my variable. > >>What I really hate is having the compiler *not* yell at me for mispelling... > >So the solution is a language which requires declaration (for >various reasons) and an environment that doesn't. For example >Smalltalk will ask you about each undeclared variable and you can >say "correct the spelling" or "declare it as a temporary/global/etc". > Alternative solution: give the user an option which says whether or not variables must be declared. HP Business BASIC does this...people seem to love it.