Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!uw-june!bnfb From: bnfb@june.cs.washington.edu (Bjorn Freeman-Benson) Newsgroups: comp.lang.misc Subject: Auto declaration of variables Message-ID: <4031@june.cs.washington.edu> Date: 21 Jan 88 16:51:22 GMT References: <1520@ogcvax.UUCP> <1522@ogcvax.UUCP> <2582@enea.se> <3315@ihlpf.ATT.COM> <17327@topaz.rutgers.edu> <6121@cisunx.UUCP> <2666@mmintl.UUCP> Reply-To: bnfb@uw-june.UUCP (Bjorn Freeman-Benson) Organization: U of Washington, Computer Science, Seattle Lines: 12 >> ... 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". This solves both problems... Bjorn N. Freeman-Benson