Difference between revisions of "Talk:Coding standard"

From Second Life Wiki
Jump to navigation Jump to search
Line 6: Line 6:


[[User:Tharkang Varayez|Tharkang Varayez]] 09:18, 8 January 2007 (PST)
[[User:Tharkang Varayez|Tharkang Varayez]] 09:18, 8 January 2007 (PST)
:Non-code-structure spacing.  Consider:
          func_call(one_param, two_param, three_param,
                    four_param, five_param, six_param);
:The indent under func_call could be either ten spaces, or two tabs and two spaces. --[[User:Carnildo Greenacre|Carnildo Greenacre]] 21:33, 10 January 2007 (PST)

Revision as of 21:33, 10 January 2007

Indentation

What does it mean Use 4 character tabs for indentation and ensure that your editor is not converting tabs to spaces.?

If my editor doesn't change tabs to spaces, what's the difference whether they are shown in my editor as 4, 8 or 13 spaces?

Tharkang Varayez 09:18, 8 January 2007 (PST)

Non-code-structure spacing. Consider:
         func_call(one_param, two_param, three_param,
                   four_param, five_param, six_param);
The indent under func_call could be either ten spaces, or two tabs and two spaces. --Carnildo Greenacre 21:33, 10 January 2007 (PST)