Thread (95 messages) flat view 95 messages, 33 authors, 2016-06-15

On Tabs and Spaces

From: Michael Witten <hidden>
Date: 2016-06-15 22:43:41

What are the rules about tabs and spaces in source code?

I'm having a terrible time with formatting,
especially in the perl scripts; there is a
mix of spaces and tabs.

from what I can deduce, single tabs are used
to introduce the equivalent of 8 spaces while
4 explicit spaces are used for half a tab.

I would recommend using all spaces, but the C
code seems to prefer all tabs.

In any case, some kind of standards need to be
set, because no one is following anything curr-
ently.

Sincerely,
Michael Witten
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help