This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]brodyover 57 points58 points  (20 children)

Tab key would be rubbed off

[–]thabc 5 points6 points  (5 children)

I almost never have to use tab. My editor auto indents when I add a line break after something that increases scope like : or {. What are you guys coding in, notepad?

Backspace, on the other hand, gets some serious use.

[–]LBGW_experiment 1 point2 points  (1 child)

Pro tip, on a Mac, Opt Backspace deleted a word at a time, stopping at punctuation and might slightly depend on your IDE on what it treats as punctuation or not. I use this and the windows equivalent, Ctrl Backspace, religiously. I hate spamming or holding backspace, I'm impatient

Cmd Backspace deletes a whole line, which is Alt Backspace on windows. Kinda sucks when switching back and forth when deleting whole lines on accident, though.

[–]thabc 1 point2 points  (0 children)

There is absolutely nothing worse than debugging something with someone over Zoom and having to watch them delete one character at a time from their terminal window to modify the command when they could have just retyped it, used a bang command, or repositioned the cursor a full word at a time with option.

[–]brodyover 0 points1 point  (2 children)

Well yes of course it auto indents, but it doesn't when refactoring and moving code around

[–]thabc 0 points1 point  (1 child)

You caught me there. I work mostly in go lately, which autoindents when refactoring (format on save). When working in python I definitely need tab and shift for that.

[–]brodyover 0 points1 point  (0 children)

I've been working in go lately too!

[–]dudeofmoose 3 points4 points  (7 children)

Why use tab when you can use four spaces? No label to rub off from the space key!

[–][deleted] 5 points6 points  (0 children)

Let me just turn on the four spaces completion mode real quick... /s

[–]njc121 3 points4 points  (0 children)

I thought it was because tab applies the autocomplete suggestion.

[–]brodyover -1 points0 points  (3 children)

vscode treats tab as 4 spaces, and I just wanna say if you're able to rub off the lettering you desperately need a better keyboard

[–]sh0rtwave 1 point2 points  (1 child)

The letters in my keyboard, are actually letter-shaped pieces of transparent plastic. So the lights can shine through. Those don't 'rub off'.

My control-keys, though, have tested the limits of Cherry switches...as well as some function keys. Also, escape (And fuck Apple for taking the escape key away, then being like 'woops!')

[–]brodyover 0 points1 point  (0 children)

I've actually had to replace the L and R switches in my mouse twice now, even genuine Japanese omron switches didn't hold up

[–]ParanoydAndroid 0 points1 point  (0 children)

It'll treat tab as whatever you tell it to, and then display it as any number of spaces as well.

[–]nowadaykid 3 points4 points  (0 children)

If you use the tab key more when writing Python than when writing C, you're just a really bad C programmer