News for hackers. Stuff that matters.
Re:Ask HN: How does Common Lisp deal with side effects? by dragonwriter on Tuesday January 18, 2022 @09:25AM (#29979557)
> How does Common Lisp deal with the side effects?

It doesn't, systematically.

> How come Common Lisp doesn't get bogged down in a quagmire of complexity like managing state in other programming languages end up being?

Most programs in most programming languages don't, in fact, do that.

They often have bugs from not trying hard enough to manage state, though.

> Is there a design pattern that's common.

Sure, seveal, but they are the techniques you learn in any introductory class in any structured programming language, though there's a good chance they were developed in a Lisp-family language.

There are no comments on this comment yet.