The article closes with a discussion of "true interactive development". I was particularly interested in this and wondered how IEx (Elixir's REPL) compares to Common Lisp's. So, I started this thread on the Elixir Forum:
https://elixirforum.com/t/hell-is-other-repls-how-does-iex-c...
- it seems some core lisp/Slime features are not there: compile one function independently, get type warnings and errors, goto source definition working OOB, no function signature (?), find who calls a function or macro, who sets a variable, and then no interactive debugger, no stepper, no inspector… ?
- Supports tab completion, shortcut keys like ctrl-a/ctrl-e and probably more that I don't ever use.
- Top notch support for unicode and supports color (IO.inspect with [color: true])
- EZ access to docs (Just type h in front of what you want to know about)
- You can recompile your project without leaving the repl (keeping whatever state you have)
- You can access the history of what has been returned using the v function
- Remote shell support (type `h IEx`) to learn more.
---
One thing I don't like: If you get mixed up and forget how many braces or parenthesis you need to close, you get stuck. I usually have to quit iex to get out. There may be a better solution to this that I'm just not aware of