6
you are viewing a single comment's thread
view the rest of the comments
[-] zalack@kbin.social 0 points 1 year ago

Wait. Are tabs used more often in modern stuff? Almost everything I use does spaces and I'm not that new to programming. Been doing it for maybe 5 years. I use spaces in everything but Go.

[-] Lanthanae@lemmy.blahaj.zone 0 points 1 year ago

Most text editors people use (like VSCode) generally automatically adjust tabs to be whatever the standard indent is for the project (and convert to spaces if it's necessary). As a result, indenting with tabs usually just works, and so most people just learn to do it that way. Also people are used to using tabs for indent from things like Word which they used before learning to write code. As a result, I've noticed most people use the tab key (even if their not technically "using tabs" every time they do it).

[-] zalack@kbin.social 1 points 1 year ago

Yeah, I have my tab key set up to insert spaces. I meant the characters being used, not the key used to write them.

this post was submitted on 17 Jun 2023
6 points (100.0% liked)

Programmer Humor

32050 readers
1554 users here now

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

Rules:

founded 5 years ago
MODERATORS