4 ms·
I actually follow a very similar pattern when developing in both Ruby and Clojure. I particularly like it in Clojure because I can run `(doc function-name)` to
by dopamean 12y ago
I actually follow a very similar pattern when developing in both Ruby and Clojure. I particularly like it in Clojure because I can run `(doc function-name)` to get some documentation on the function I intend to use (I can never remember the order of arguments!!).
- lhc- 12y agoI do this a lot in the ipython REPL. You can type "method_name?" and see the docstring and some other basic info about the method (like args), its extremely helpful.
- barrkel 12y agoThe pry equivalents are show-doc and show-source. They don't always work depending on configuration, but it's very nice when they do. They can even go far enough to show the C source for builtins.