55 points · by adambyrtek · 8y ago · 46 comments
https://news.ycombinator.com/item?id=15532457 (~2 months ago, 237 comments)
https://news.ycombinator.com/item?id=4620065 (~5 years ago, 66 comments)
All submissions: https://news.ycombinator.com/from?site=moolenaar.net
The problem with this, however, is that it's a pain to remember to generate and update the tags database. Thankfully, you can configure Git so that it builds a tags database for you automatically whenever you clone a repo, and updates it in the background every time you commit, pull, or push.
Instructions here from Tim Pope:
http://tbaggery.com/2011/08/08/effortless-ctags-with-git.htm...
I'm partial to GNU Global, myself, which adds a basic "find references" command, slightly better parsing, and incremental DB updates. Also relatively easy to set up for effortless navigation:
"I want to get the work done, I don't have time to look through the documentation to find some new command". If you think like this, you will get stuck in the stone age of computing. Some people use Notepad for everything, and then wonder why other people get their work done in half the time...
It's not directly related to vim, but... Some tool you use will always seem extraneous to someone further down the stack with more experience than you...
I remember at the beginning of my coding career asking a software engineer what IDE was the best and getting back the answer, "you don't need one, you can do everything in NotePad if you want."
(Suffice to say the impetus to go home and want to start coding from a blank NotePad file that night was dead on arrival.)
Now, if he had asked me why I was asking what IDE was best, I would probably have said "I want to create something as quickly as possible that helps me understand what code does," and then I would have been off to the races. Googling and learning along the way...
Either way, proper touch typing is more than typing fast, it's also about "sustainable typing": posture, strain, reducing rsi - as well as being free to copy (read text to type in, not having to look at the keyboard or the screen where typed text is displayed).
I've not met many people that proper touch type, even programmers. Even if being able to copy a page of example code from a magazine/book is a useful skill.
One last remark to remind you of what happens when people ignore all the above: I still see people who spend half their day behind a VDU looking up at their screen, then down at two fingers, then up at the screen, etc. - and then wonder why they get so tired... Type with ten fingers! It's not just faster, it also is much less tiresome. Using a computer program for one hour each day, it only takes a couple of weeks to learn to touch-type.
Didn't realize that it meant typing without looking at the keyboard. Would have thought this was a given, but in hindsight, I suppose the prevelance of the touchscreen interface probably has something to do with my false assumption.