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

Let's suppose you define a function that searches:

FindThis(needle, haystack):

Then later you come to use this function, you cannot remember whether you made it Findthis(needle, haystack) or FindThis(haystack, needle). (OK so in python you could just name your arguments to avoid the issue but then you might have inconsistent coding styles)

IDEs' have completion of code and descriptions of arguments which makes calling any function trivial. You can go from barely remembering a function name to understanding all the parameters, optional or otherwise, within the time it takes you to type out the function you wanted. It means you don't have to context switch into "documentation" mode.




I agree this is useful, but I also have autocompletion and popover documentation programming Clojure in Emacs. It often is more work to configure than just using an IDE, but the package manager Emacs recently added has taken a lot of the pain out of it. There are still cases when I use IDEs (certainly for Java), but you can add a lot of that functionality to emacs/vim if you want.




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

Search: