I’m curious about what most of you use.
- Spaces
- Tabs
- Both/Depends/other
0 voters
I’m curious about what most of you use.
0 voters
Honestly I just use tabs because yes
and I am lazy to just go
press press
on the space bar even though its probably a more asmr typing kind of thing
Most editors can be configured to use spaces when you press the tab key. I think most do it by default.
I use tabs a lot, and when working with other people’s code that is indented using spaces I have the IDE insert spaces when I press tab. I like tabs more then spaces because unindenting and reindenting stuff on crappy editors is easier then with spaces. I can also find and replace tabs specifically.
Just don’t use crappy editors.
You can with spaces too. You can just find and replace 2/4 spaces (depending on which you use).
It’s just easier to use tabs, and if I need to use spaces I can just use tab to insert spaces.
just don’t use crappy editors
Are you trying to imply I should use something other than powerpoint as my IDE?
I wouldn’t say it’s easier. Most IDEs (the three out of four I’ve tried) use spaces by default so you’d have to go in your settings and change it.
Yeah, MS Paint is really good.
I can’t center align my code in ms paint tho…
Sounds like a skill issue.
To keep this on topic, who actually prefers both???
I’ve always preferred tabs, but most people seem to prefer spaces lol
I use both but set my ide’s to turns everything into spaces.
For Python at least, PEP8 prefers using spaces, as using tabs can cause issues. Plus, most editors are already configured using spaces anyway.
I voted other as I don’t care that much visual side how code is organized prettier (or other beatify code tools) do that stuff for me automatically.
Only python programmers need to be careful with tabs.
Disagree, indentation is essential for proper readability. In any language,
Try to tell this to python compiler. It is only readability thing now run my code.
Which compiler. I use indentation in all sort of languages and that is ok.
If you talk about your own language or some other exoteric, than who cares … they are generally no meant to be readable anyhow …