945
you are viewing a single comment's thread
view the rest of the comments
[-] Hexarei@programming.dev 8 points 7 months ago

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.

this post was submitted on 08 Apr 2024
945 points (98.1% liked)

Programmer Humor

19551 readers
365 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

founded 1 year ago
MODERATORS