#TabsVsSpaces
Reminder: If you're using spaces instead of tabs in your code, you're enforcing your personal preference in indentation spacing on everyone else.
That's unkind. Don't do that.
#coding #development #programming #BestPractices #TabsVsSpaces #UseTabs
The only sane way to do indentation and alignment of programming code:
tabs for indentation,
spaces for alignment.
This is called smart tabs: https://www.emacswiki.org/emacs/SmartTabs
:boost_requested: Spread the word.
If you’ve ever pasted a code-block-abomination of mixed spaces and tabs, then you’ll be happy to know that #JetBrainsRider has actions to convert all tabs to spaces, and all spaces to tabs. #tabsVsSpaces #coding
I don't know why this part of the PDF has tabs instead of spaces but I'm sure all the programmers will have Opinions about it. #robodebt #TabsVsSpaces
Tabs vs Spaces Divorce: Judge Rules
https://dev.to/justlig/tabs-vs-spaces-divorce-judge-rules-3jan
Spaces Squad Passionate Programmer Software Developer Design
➡️ https://geeksta.net/design/spaces-4-squad-light/
Are you passionate about using spaces to indent your program code and want to show it?
#4Spaces #CoderMerch #ComputerCode #ComputerProgrammer #ComputerProgramming #DeveloperMerch #GeekHumor #GeekMerch #NerdHumor #Programmer #ProgrammerHumor #ProgrammerMerch #SoftwareDeveloper #SoftwareEngineer #SpacesVsTabs #TabsVsSpaces #Whitespace




Multiple spaces
VS
A single tab character whose width you can adjust in your editor of choice to be the length you want
Will people plz explain why?
Like I’m legitimately confused why spaces seems to be the default for most people. Surely there’s a reason?
As a diehard “spaces” kind of person I decided to switch to tabs for accessibility reasons, but it's hard sometimes as you can't just flip a switch and change an entire repository instantly without taking precautions.
Not only that, but after changing the defaults on your code editor, you may have to continue working on other repositories with spaces until those get converted too. Very messy situation.
Just a reminder that tabs are far better for accessibility (#a11y) than spaces.
Not only do they allow people to adjust the indent size to improve readibility, but they are far more compatible with screenreaders and refreshable braille displays.
Modern #coding tools really make all of the other, more trivial differences pretty much moot. So please consider using tabs to ensure that everyone can read and contribute to your project!
@sohkamyung you'd think that debate ended after we stopped using typewriters...
But, that of course reminds me of #TabsVsSpaces.
I made up my mind in the "tabs vs spaces" debate decades ago.
Yesterday a single novel-to-me argument changed my mind.
#tabs #spaces #tabsvsspaces #indentation #programming #coding #style #styleguide #accessibility #til
@holger If Black would at least indent by tabs! And yes, I know PEP8 says spaces. But, indenting by spaces is just plain wrong!