3 ms·
I think Clojure is especially well suited for creative programming because the REPL-based workflow is very interactive and the language itself is so easy to mol
by kyllo 11y ago
I think Clojure is especially well suited for creative programming because the REPL-based workflow is very interactive and the language itself is so easy to mold and shape as you're exploring the problem domain. Composable functions plus macros means it's super easy to build custom abstractions and DSLs for what you're trying to do. Of course there are other languages that also support this to different extents, but Clojure and Lisp/Scheme family languages in general seem particularly well-suited for exploratory and creative programming because of the REPL, homoiconicity and macro system.
- hga 11y agoLet me add that REPL based workflow is great when you can't write unit tests for whatever reason, you can test each bit of code in the REPL as you write it. The more functional the language and your code, the more sure you can be that your informal testing will stay valid. The more your data is immutable, the easier that testing can be. If you grok it, with some practice it can work very well. I would be surprised if it couldn't work well for livecoding for some people.