Genuine question, what is the actual argument for using spaces?
like, in what actual way is it any better? tabs take up less space & allow you to customize the indentation amount. Spaces, on the contrary, literally give you 0 advantages. other than the good ol' >"Hurrr iT COuLd LOok diFfeREnt On otHeR PEopLe's SCReeNs"
which is honestly the single most retarded reason to use for justifying inferior tabulation. I mean, we dont say "hurrr what if other people use different fonts that render improperly" or "hurrr what if other people only have a 10 char wide screen? now i must make all my statements 10 characters wide at most durrrrr"
it depends on the language you grockle. This is some real java tier stuff here.
Ethan Young
the pragmatic choice is to use whatever the project is using. otherwise less keypresses is better so tabs, but trying to convince your boss that everything should be done with tabs is literally a waste of calories. learn to minmax life, kid
Line length limits. In a world where I'm the only programmer I favor tabs, but tabs can't deal with line length limits well so.
Mason Martinez
>I mean, we dont say "hurrr what if other people use different fonts that render improperly" or "hurrr what if other people only have a 10 char wide screen? now i must make all my statements 10 characters wide at most durrrrr" Because no one in their right mind uses a non-monospace font for programming, nor a very narrow screen, and yet everyone has different and equally reasonable preferences about how many spaces a single indent should be in each language. Using spaces instead of tabs is a way to enforce your opinion on that matter, and, for better or worse, that's desirable.
Blake Price
The question is not about tabs vs spaces, it's between 1) tabs for indentation and spaces for alignment or 2) spaces for everything. 2) is just more consistent
Easton Campbell
t. never been to [s4s]
Dylan Edwards
that's another thing i dont get. where would you actually need spaces for alignment? give me an example.
Nicholas Scott
user, bad news, you using 1/4 and 1/2 spaces right now without you even knowing also tab is just a long space
Noah Watson
Ugh. Googoo the best software company ever, uses two spaces in place of tabs so it's like pretty much the standard now.
Hate having to explain this to newfags like you (newfags == new posters in chanspeak btw.)
Lucas Gray
Because languagelets that use python cry at tabs because python can’t handle them. Muh syntactic wh*tespace.
Thomas Lee
Don't talk shit. Python handles tabs just fine, it just can't handle tabs and spaces in the same file.
Lincoln Rodriguez
>tab is just a long space
You heard it here first..
By this logic l is just a p with less loop action going on, and r is just a bendy l.