Tabs vs Spaces

0 views
Skip to first unread message

Prakash

unread,
Mar 5, 2010, 1:01:23 PM3/5/10
to Qwit
I am not a fan of Tab character in the src code and particularly in
opensource environement where people use different editors to
develop.

with my experience with Open source development, we have a policy to
use spaces instead of tabs.

A header file that I am looking at has mix of spaces and tabs
character used. This makes the likes of code incorrectly indented.

it would be nice if there is a policy that only spaces are used coz a
space looks like a space on all editors while Tab can appear
differently from editor to editor.

What do you think?

Artem Iglikov

unread,
Mar 5, 2010, 9:46:40 PM3/5/10
to qw...@googlegroups.com
Usually, I always use Tabs, because pressing Tab is much quicker, than
4 spaces and not all editors have a feature to use spaces instead of
tabs, but most of them have configurable Tab length. But if you think
that spaces will be more convenient, I don't mind.

> --
> You received this message because you are subscribed to the Google Groups "Qwit" group.
> To post to this group, send email to qw...@googlegroups.com.
> To unsubscribe from this group, send email to qwit+uns...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/qwit?hl=en.
>
>

--
Best regards, Artem Iglikov
http://kiwi.kz technical specialist

I do know everything, just not all at once. It's a virtual memory problem.

Prakash Nadar

unread,
Mar 5, 2010, 10:06:29 PM3/5/10
to qw...@googlegroups.com
Hi,
I have configured the editor to replace tab char with 4 spaces (that is
the requirement of the opensource project that I work for) :)

Will see how it goes, during the day I realised tha that most of the
files has tab characters instead of spaces, so it would not really be a
value addition to replace all of them with spaces.

Lets stick to what we have right now.

-prakash

Reply all
Reply to author
Forward
0 new messages