|
|
|
|
|
by imran-iq
982 days ago
|
|
I also don't like autocomplete. The reason being that not having it actually forces me to learn the libraries I am using. > You know everything by heart? You eventually reach that point. Do you still look down to see which keys you are typing? This is also has the nice side effect of pushing you to use libraries that are stable and have good documentation as you can always reference them if need be. |
|
Take for example the substring function. I wouldn't know which one it is for JavaScript, Haxe, ActionScript3, C#, Java, Python, C, C++, PHP. I know I used it at one point for all of them.
For languages like JavaScript, Java and C#, it's probably a method, so you can start typing. Might be substring(), might also be substr() or something like that.
For Haxe, I thought it was not a method so I think it's either part of Std or StringTools.
If I use autocomplete, I have it in a few seconds, and I can also see the documentation on the parameters. Is the second parameter an index or a length? To be honest I have no idea. And the good part is, thanks to autocomplete I don't need to know.
Also, if you work in a big codebase, you can't know every class. Needing to dig through code seems such a waste of time.