[haiku-development] Re: Coding guidelines

Hike Danakian wrote:
> This is a bit hacky... but how about an image?
>
> -- Hike Danakian
>

I think the important thing is copying and pasting from the coding
guidelines page should give compliant code.

As HTML doesn't let the width of tabs be altered, the only two options
are: Reformat tabs as spaces - code looks correct but is not following
the guidelines. Keep the status quo - code is correct, but tab spacing
cannot be set the guideline-specified value.

I think option 2 is the best choice (ie keep things as they are). A note
should probably be added to the page though to say the code is suitable
for copying and pasting, but due to a CSS limitation it is not possible
to have it display the correct tab widths in the browser.

Simon


Other related posts: