Hacker News new | ask | show | jobs
by gilch 908 days ago
Python is great for API discovery. `dir()` and `help()` are builtins. Use the REPL.
1 comments

Sadly, hard disagree. I programmed Clojure professionally for ~2 years, and its REPL is significantly better than Python's. Despite that, nothing compares to "dot" autocomplete and being certain that a method can take a certain object type. Like, I could type dir/help and then the token in question then parse the output with my eyes, remove the help/dir and type in what I wanted... or I can hit dot and scroll the available methods/properties. It's not even close.