Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python is great for API discovery. `dir()` and `help()` are builtins. Use the REPL.


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.




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

Search: