Re:Modern, functional Common Lisp: myths and best practices
by TurboHaskal on Tuesday February 25, 2020 @07:58AM
(#22412784)
What I do: Write pure functions, but don't shy away from mutating lexically scoped state in order to improve performance. For global stuff, wrap it with classes since objects are a commonly understood way to reason about state.
[ Parent
| on HN ]
Re:Modern, functional Common Lisp: myths and best practices
by Ambrevar on Tuesday February 25, 2020 @08:05AM
(#22412831)
For immutable data structures, there is this helper library which can help: http://quickdocs.org/immutable-struct/