this post was submitted on 26 Oct 2024
638 points (97.1% liked)

Programmer Humor

32542 readers
507 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] dQw4w9WgXcQ@lemm.ee 3 points 3 weeks ago (1 children)

I might be in a minority of this, but using numbers that way breaks my flow for 2 reasons: Firstly, any number of lines greater than around 3 or 4 means I have to stop and manually count. Not that counting to 6 takes a long time, but it does use some mental capacity while I want my mind focused on the actual code. Secondly, I don't have touch typing in my fingers for the number line on my keyboard. If I need to type a number, I either have to look down at my keyboard, or move my hand over to the numpad. In both cases it would be quicker for me to Vjjjjjy.

[โ€“] fl42v@lemmy.ml 2 points 3 weeks ago

manually count

That's why rnu (i.e. relative numbering) is mentioned, tho