4 ms·
> What makes a good REPL? 1. copy-paste of code with spaces must work 2. decent history handling (arrows to go up and down, Ctrl+R to search, it could be bett
by izietto 4y ago
> What makes a good REPL?
1. copy-paste of code with spaces must work
2. decent history handling (arrows to go up and down, Ctrl+R to search, it could be better with a fish-shell-like history handling)
3. syntax highlighting of returned values
4. reusage of results (in Ruby irb, _ points to the last returned value)
5. source code reloading
6. source code exploring (in Ruby pry, something.source returns the source of the code)
- lloeki 4y ago7. live object exploring (in Ruby pry, ls something returns a human-oriented list of methods, grouped by their owner module, contants, ivars. also cd something changes context, dramatically reducing typing)
- epage 4y agoMaybe not to the same degree but `see` for python: https://pypi.org/project/see/ https://pypi.org/project/see/