4 ms·
This is fantastic. Never knew about it, but now I know what to give to kids interested in learning programming!
by Keyframe 8y ago
This is fantastic. Never knew about it, but now I know what to give to kids interested in learning programming!
- dotancohen 8y agoMy 9 and 11 years olds write Python in VIM, and have been for about two years. Learning VIM itself can be fun, if you teach it properly. And it is a skill for life.
- vuln 8y agoAnd tips on teaching it properly?
- Keyframe 8y agoI've forwarded this video: https://www.youtube.com/watch?v=5r6yzFEXajQ https://www.youtube.com/watch?v=5r6yzFEXajQ to several friends, and they all 'got it'. No one moved to vim though.
- dotancohen 8y agoMotivation! We started with a goal, in our case it was to recreate the car from the `gti` command (git wrapper). I created a file with maybe a dozen lines of 72 spaces, and let them get to work. They started with basic hjkl navigation and the i command, then they learned to replace with r and jump to specific location with /. After that I was simply answering their questions, as they already understood that everything has a shortcut.
- Keyframe 8y agoI'm 38 and use vim since Amiga days and vi before that and would never even consider giving vim to anyone starting out! How do you teach kids that? I know kids learn fast, but still. Aren't they in a phase where they ought to catch on 'normal' things first in apps, isn't wrestling with vim averting they concentration from what they should be paying attention to (python)?
- earenndil 8y agoHi. When I was about 9, I asked my dad to teach me to program, and he started with vim. Yes, it was a bitch to pick up, but I don't think it really detracted from learning and it's still what I use today so it can't have been that traumatizing.
- dotancohen 8y ago> isn't wrestling with vim averting they concentration > from what they should be paying attention to (python)? Quite the opposite. Instead of teaching them "use this arrow key" I'm teaching them "use this mode". And since they are paying mostly attention to the Python, the VIM skill that they are picking up along the way is hardly even noticed.
- ntoll 8y agoFWIW, I use vim to code Mu. :-) In a similar way to another respondent, I use vim because my first computer at university had it (well, Vi) and it's always there.
- prgcirclejerk 8y ago"i" Shut the fuck up "esc, w q"
- xd2024 8y agobased
- natalyarostova 8y agoThis comment is peak hacker news.