Nataniel Farzan · @natanielf
17 followers · 71 posts · Server floss.social

If you could only indent your code with either tabs or spaces from now on, which would you prefer to use?

Without considering the norms/preferences in specific languages, which one do you personally prefer to work with?

Reply with your reasoning if you'd like - please keep the discussion civil though 😅

#tabs #spaces #indentation #formatting #code

Last updated 1 year ago

Matt Cengia · @mattcen
486 followers · 3118 posts · Server aus.social

@mattwilcox Oof, this hits hard, because my interest in completely agrees with you, but this is such an unpopular opinion that making such a transition will be a long and tricky process (not to say it's not worthwhile), and I'll have to work out how to configure various linters and code formatters to do the right thing.
Have you found code formatters can usually be configured to use tabs without too much trouble?
(In particular, I've not yet worked out if I can make autopep8 or similar go against its grain and *not* just do 4-space indents.)

#accessibility #indentation #tabs #spaces #tabsoverspaces

Last updated 1 year ago

Michael Zeevi · @maze
96 followers · 572 posts · Server fosstodon.org

Do you prefer your lists indented or not?

```
a:
- foo
- bar
b:
- foo
- bar
```

(please boost to gather more replies to the poll!)

#yaml #syntax #indentation #prettify #code

Last updated 1 year ago

Michael Zeevi · @maze
96 followers · 572 posts · Server fosstodon.org

Do you prefer your lists indented or not?

```
a:
- foo
- bar
b:
- foo
- bar
```

(please boost to gather more replies to the poll!)

#yaml #syntax #indentation

Last updated 1 year ago

Marc JESTIN · @mjhn
26 followers · 605 posts · Server piaille.fr
Karl · @karl1b
4 followers · 18 posts · Server social.dev-wiki.de

Another issue...

At least admit that's a PR stunt. I really like Python, but with curly's coding its just better. 😜​

#python #indentation

Last updated 2 years ago

Aaron Lael · @alael
2 followers · 9 posts · Server techhub.social

@tojosan Adopt PEP8 formatting early and if you post online asking for questions make sure your formatting works.

#indentation #4spaces

Last updated 2 years ago

Akib Azmain Turja · @akib
49 followers · 343 posts · Server hostux.social

: keeps your code always indented, so that you can focus on what matters, programming, instead of wasting your valuable time indenting the code.

github.com/Malabarba/aggressiv

#emacstip #AggressiveIndent #emacs #Indent #AutoIndent #indentation #AutoIndentation

Last updated 2 years ago

saustrup 🤗 ❤️ 🇺🇦 🍺 · @saustrup
52 followers · 147 posts · Server mstdn.dk

From what I hear, the struggle is real! 😀

#yaml #indentation

Last updated 2 years ago

Mæve 🏳️‍⚧️ · @sid
1017 followers · 2365 posts · Server tilde.zone

For code , I consider tabs to be superior to spaces. They're useful, elegant and just make sense.
Still, I seem to use spaces in my projects. Why?

Certainly due to useful, elegant, and sensible code having no business in my projects

#indentation

Last updated 3 years ago

Pablo · @Apitronics
212 followers · 4946 posts · Server mastodon.partecipa.digital

Suis-je le seul à beaucoup trop galérer à comprendre comment fonctionne l' sur ? 🤔

#vim #indentation

Last updated 4 years ago

gaby_wald · @gaby_wald
70 followers · 16249 posts · Server framapiaf.org
gaby_wald · @gaby_wald
73 followers · 16270 posts · Server framapiaf.org