|
I fine with that as long as you pick up the tab!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
|
|
Awesome thanks for the link.
Good storage alternative, especially since the organizers are so dang expensive.
PartsBin an Electronics Part Organizer - A updated version available!
JaxCoder.com
|
|
|
|
|
Tabs because it is just one keypress.
|
|
|
|
|
I use 1 tab = 4 spaces.
/ravi
|
|
|
|
|
I use whatever the project already uses. Some projects use tabs, some use spaces.
When I start new projects, I use whatever the specific team[1] already uses - some teams have tabs set up as default in their IDE, some have spaces.
In the rare occasion that I start a solo project with no team I tend to go with spaces.
[1] I work across multiple teams.
|
|
|
|
|
I use the tab key, but my IDE converts them to spaces.
Nothing succeeds like a budgie without teeth.
To err is human, to arr is pirate.
|
|
|
|
|
I prefer tabs because when I have to move code from an indentation level to another it requires less deletes. Also allows for fancy editing like a different character width for indentation than for code (it helps for people who have to set the font to 12pt with 125% or 150% magnification active, like yours truly).
Also I have worked on a codebase modified by several people in several years with different tools and different indentations. Code was something like
if (condition){
code;
if (cnd2)
{
code;
}
code;
while(something)
{
code;
}
}
Tabs would have fixed the lunacy.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I normally use Tab key (4 spaces) but it also depends on the IDE
|
|
|
|
|
|
I prefer tabs - but the VS editor seems to have it's own idea about how they should be rendered, so I often end up using a mixture.
|
|
|
|
|
Indent? That’s really a thing? I just left-align everything. Tried right-align, but that was messy.
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|
|
Use RTL text (or even better bidi), I dare you.
Software Zen: delete this;
|
|
|
|
|
I use spaces (inserted using the Tab key) according to the language: Python - 4 as is the usual setting, HTML/JavaScript: 2 because otherwise indenting of HTML tends to become too high to be comfortable.
|
|
|
|
|
Tabs. Converting the tabs to spaces in my code is a capital offense with immediate execution of the sentence.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
If(spaceToAdd > 1)
{
Tab();
}
else
{
Space();
}
// This is how my brain does it :P
|
|
|
|
|
I use Tabs for Columns, and spaces for strings, Carriage Return/Line Feed for new Row. Makes sense when Using Excel. For notepad it doesn't matter
|
|
|
|
|
I prefer tabs.
Our code size in bytes could double or quadruple or ? based on how many spaces were substituted.
A lot of lines in brace delimited languages are 8 tabs, open or close brace.
Python, stick to spaces!
|
|
|
|
|
I use tab and shift+tab in VS to keep things in neat code blocks. I don't really care how many spaces a tab is as long as it's consistent (I use the default). I've never seen a good reason to use spaces, whenever I see code like that it's usually a mess. It's possible to format code well using spaces, but that's not what I usually see in the wild.
|
|
|
|
|
If it doesn't auto-indent, I will tab.
But now I wonder if K&R C had anything to say about that
|
|
|
|
|
I use Tabs (as the Good Lord Intended)
Truth,
James
|
|
|
|
|
I used tabs until Visual Studio .NET 2003 unrecoverably broke the block indent/undent operation when you mixed tabs and spaces. After that I switched to spaces.
And yes, this same operation has been broken ever since. VC6 would let you have {tab}{tab}{sp}{sp}stuff , and when you indented, that became {tab}{tab}{tab}{sp}{sp}stuff . All versions since then have stripped the leading tabs and/or spaces and inserted N tabs or N*s spaces.
Studio has been through more than one editor rewrite since then, and it still doesn't work right. I'm using VS2019 now, and it occasionally decides to treat indents as blocks. It's not predictable though.
Software Zen: delete this;
modified 20-Oct-22 17:00pm.
|
|
|
|
|
I always use IDE for coding. All IDEs that I use convert tab to spaces automatically. I always press TAB on keyboard when I want to indent, though. Since less keystroke is faster and better. So you could say that I am a TAB guy? But I am perfectly fine with it saved as spaces.
|
|
|
|
|
I use tabs bc using spaces is rude. For example, I personally prefer .html or .xaml files with an indentation of 3 spaces, for other file types I prefer 4 spaces. This is not possible if some ruthless predecessor inserted spaces according to his, probably different, personal preferences in the source files. Or if I am the predecessor, then I would force my 3 spaces upon other people. That's not the way to treat each other.
|
|
|
|