this post was submitted on 08 Apr 2024
947 points (98.1% liked)
Programmer Humor
19652 readers
2305 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
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.