Hacker News new | past | comments | ask | show | jobs | submit login

Have you tried the pry gem? It gets you 90% there and is a useful interactive repl for things outside of iterators.



REPL's aren't really interactive programming. In Bret Victor's demo, he makes a infinite loop and as he is typing, the mistake is immediately clear.

Pry is awesome though, it's just not really close to the things that Bret talks about. In fact, I think in one talk he specifically speaks against REPL's being interactive.


I have a bit....but it's a little complicated and overkill I think.

But....I may revisit it again.


Can't get much more simple than `binding.pry` jumping you into an `irb` at that line.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: