Closed Symbolics closed 5 years ago
Generally setq is only seen these days in emacs and setf is the generally accepted 'best practice' in setting variables in common lisp.
setq
setf
References: Gigamonkeys chapter on variables Reddit discussion on clisp subreddit Stackoverflow discussion on difference in the set* operators
This proposal would replace all occurrences of setq with setf
I now use let in most of the examples (setf is not well defined for new variables across different implementations). Setq is now gone from the code.
Generally
setq
is only seen these days in emacs andsetf
is the generally accepted 'best practice' in setting variables in common lisp.References: Gigamonkeys chapter on variables Reddit discussion on clisp subreddit Stackoverflow discussion on difference in the set* operators
This proposal would replace all occurrences of
setq
withsetf