5 ms·
Is autocomplete really necessary though?
by RandomInteger4 10y ago
Is autocomplete really necessary though?
- joatmon-snoo 10y agoYES. Oh GOD yes. Some of the worst D'oh moments I've had came from before I added tab completion to my .vimrc, because it almost completely eliminated errors that my typos introduced.
- jasonkostempski 10y agoDo you have any suggestions about how it may not be, or are you just pondering the idea? I really want there to be something that has the benefits without the Intellisense-level overhead, I haven't seen it though.
- Normal_gaussian 10y agoI find autocomplete annoying. I also suspect autocomplete to be the leading cause of a particular set of subtle bugs - ones where the words on the page seem right but the function chosen has a surprising and uncatered for side affect. When you reinforce to people that it is OK to code blindly ahead, grasping for the right calls at the last second you will end up with poorer quality code (although, it may be typed faster).
- yomly 10y agoThere are always tradeoffs but for me, I feel like lack of autocomplete encourages people to use shorter less descriptive names for identifiers. I am a believer in using as descriptive identifiers as possible to make the semantics of your code as clear as possible. If this gives rise to 5-word+ identifiers, so be it, providing it is done tastefully (and not for verbosity's sake). As typing 10+ characters per function call/variable call can get tiring, lack of autocomplete can leads incentivizes the use of shorter names which runs counter to this philosophy, and leads to code being harder to read. (IMHO)
- astrobe_ 10y agoIt really depends on what you're working on. Huge code bases, weird APIs (for instance the raw Windows API), verbose languages may need an IDE to be manageable.