That's why you get the best of both worlds, and combine them to use tabspaces. Everyone will hate you equally, achieving true equality in the process.
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
Tab characters are space efficient and configurable for each person in their editor. Space characters are consistent between developers.
Solution: each tabspace indent is a random width, making it both inconsistent and non-configurable. Also, each character is the size of at least four regular characters, so it’s not even space efficient
So, we're using Word?
This sounds perfect.
Honestly the best solution is tabs for indentation and spaces for alignment.
I think you put those images the wrong way around, pal 😠
I agree, the others are wrong.
Create a language where tabs are used for indentation while comments are formed by one space character at the beginning of a line, followed by a tab. Exactly eight spaces at the beginning of a line means that line is continuation of the previous one.
Maybe I'll start an Anarchy Programming sublemmy.
Really nice, I like
The only solution is to use a curly brace language and write everything on one line.
The real question is spaces around curly braces or not?
Have spaces around curly braces modify the behaviour. That way, you can incorporated both.
The only wrong person here is the one with whitespace marked invisible smh
I·don't·know·what·you·mean.
Just set your tab width to 1. No more argument now.
Finally someone that speaks the hard truth that we need to hear
I have no problem with either. But I do have a problem with people who use the space bar instead of the tab key.
3 spaces!
Fight me!
More like expand
me
I prefer to use three alt+255
You just reminded me my brothers and I used to use alt+255 back in the DOS days to rename files that we didn't want our parents opening. 😁
A bit useless if there's no character in front of the lead
Hard to imagine how anyone could be so wrong :P
My workplace almost came to blows as every 2nd source file was auto-formatted to varying levels of spaces.
I was told this after I complained to my manager that someone came into my project fresh and started autoformatting our code to 1 space on every file they worked on.
Understandable. When the code is already written, one follow its defaults no matter what ones own preferences are. Thats just common courtesy.
I've always found it weird people call it white spacing when most coders use night mode on their ide, shouldn't it be black space?
😂😂😂
As a JS developer, I prefer to use semicolons for indentation.
My indentation is secretly the actual program written in the whitespace programming language.