Elektrine lite

← Feed

@simon_brooke@mastodon.scot

2026-07-02 11:50 UTC

@psf@oldbytes.space All destructive modification is a dirty hack. In the early days of #Lisp, we were running on machines with very small memories -- I learned Lisp on a machine with under 30Kb of memory available to the Lisp interpreter. On such a machine, destructive modification was sometimes necessary. But we knew that it was generally bad style, to be avoided if possible. Now we have more memory, Lisps with immutable data, like #Clojure, are to be preferred.

Replies (2)

  • @simon_brooke@mastodon.scot @psf@oldbytes.space “Very small memories” is relative. I worked on a DNA sequencing application in Common Lisp several years ago, and there destructive operations mattered…

    Open ##5287721

  • @asllop@mastodont.cat 2026-07-03 20:19

    @simon_brooke@mastodon.scot is there any other lisp with default persistent data structures like #clojure ? @psf@oldbytes.space

    Open ##5287722