this post was submitted on 08 Apr 2024
946 points (98.1% liked)
Programmer Humor
19572 readers
1776 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's really neat, but I don't think I do that often enough to really make the performance hit of learning a whole new thing and memorizing keyboard shortcuts and commands worth it. I don't find myself refactoring code a ton, especially after moving to a more TDD-like model.
It's less about refactoring and more about navigation of your code while editing. Ever wanted to delete a single word?
daw
deletes the word your cursor is currently in. How about "copy everything up to (but not including) the nearest "D" on the current line?yfD
.The whole point is that editing code in the middle of writing it, not just refactoring it, is immensely faster.