bnfb@june.cs.washington.edu (Bjorn Freeman-Benson) (01/22/88)
>> ... 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
skh@hpclskh.UUCP (01/22/88)
>>> ... 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.