Programmers: spaces or tabs?

A place to chat about non-MAP issues that are not political in nature.
Post Reply
TayFerret
Posts: 21
Joined: Sat Nov 16, 2024 3:10 am

Programmers: spaces or tabs?

Post by TayFerret »

I think:
1. tabs for indentation,
2. spaces for alignment,
3. alignment is a waste of time so don't even bother.

Reasoning: Tabs for indentation allows individuals to choose their preferred indentation amount without messing up the code for others. I learned that this is especially important for people with visual disabilities, who apparently need to make the text really big and reduce the tab size to one space per tab so it doesn't go way off the screen horizontally.

So, are you pro-tab or anti-tab?
Fragment
Posts: 223
Joined: Sat Jun 29, 2024 12:08 pm

Re: Programmers: spaces or tabs?

Post by Fragment »

I mean, if you're using Python you kind of have to use tabs...
On Sabbatical

My interview with Little Nicky:
Part 1: https://fstube.net/w/4bmc3B97iHsUA8rgyUv21S
Part 2: https://fstube.net/w/tTzRE29yrrA3xqXUaFuV9G
Post Reply