News for hackers. Stuff that matters.
Re:Hell Is Other REPLs by denvaar on Sunday August 29, 2021 @04:11PM (#28350047)
A few things I like about IEx:

- 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

Re:Hell Is Other REPLs by sfusato on Sunday August 29, 2021 @04:18PM (#28350111)
There may be a better solution to this that I'm just not aware of

When that happens, I simply enter 'iex> end' which would return a SyntaxError, and start over but without having to restart iex.