[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indenting java code

From: Stefan Monnier
Subject: Re: indenting java code
Date: Thu, 06 Nov 2003 22:14:16 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> `set' is very bad style here.
> Out of curiosity, can you explain why setq is better then set?  

- You can't make `set' lexically scoped.
- You can't (in general) analyse `set' to see if the variable was properly
  declared, etc... so the byte-compiler can't make sanity checks
  or optimizations.
- Basically `set' is in the same category as `eval' which is also
  something to keep the few cases where nothing else works.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]