[haiku-development] Re: Coding guidelines
- From: Stephan Assmus <superstippi@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sat, 08 May 2010 15:47:18 +0200
On 2010-05-08 at 14:22:00 [+0200], Simon Taylor <simontaylor1@xxxxxxxxxxxx> wrote: > 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. I don't quite understand the benefit of copying and pasting the code examples on the coding guide-lines page. I am probably missing something. The main purpose of the examples is to make the reader go "ah, this is how it is supposed to look". At the moment, this fails somewhat. Best regards, -Stephan
- References:
- [haiku-development] R1 alpha 2 final countdown
- From: Ingo Weinhold
- [haiku-development] Re: R1 alpha 2 final countdown
- From: Urias McCullough
- [haiku-development] Coding guidelines
- From: Markku Hyppönen
- [haiku-development] Re: Coding guidelines
- From: Jorge G. Mare
- [haiku-development] Re: Coding guidelines
- From: Niels Reedijk
- [haiku-development] Re: Coding guidelines
- From: Niels Reedijk
- [haiku-development] Re: Coding guidelines
- From: Stephan Assmus
- [haiku-development] Re: Coding guidelines
- From: Niels Reedijk
- [haiku-development] Re: Coding guidelines
- From: Hike Danakian
- [haiku-development] Re: Coding guidelines
- From: Simon Taylor
- [haiku-development] R1 alpha 2 final countdown
Other related posts:
- » [haiku-development] Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Re: Coding guidelines
- » [haiku-development] Coding guidelines - Markku Hyppönen
- » [haiku-development] Re: Coding guidelines - Jorge G. Mare
- » [haiku-development] Re: Coding guidelines - Markku Hyppönen
- » [haiku-development] Re: Coding guidelines - Niels Reedijk
- » [haiku-development] Re: Coding guidelines - Niels Reedijk
- » [haiku-development] Re: Coding guidelines - Stephan Assmus
- » [haiku-development] Re: Coding guidelines - Niels Reedijk
- » [haiku-development] Re: Coding guidelines - Hike Danakian
- » [haiku-development] Re: Coding guidelines - Simon Taylor
- » [haiku-development] Re: Coding guidelines - Stephan Assmus
- » [haiku-development] Re: Coding guidelines - Stephan Assmus
- » [haiku-development] Re: Coding guidelines - Jorge G. Mare
- » [haiku-development] Re: Coding guidelines - Jonas Sundström
- » [haiku-development] Re: Coding guidelines - Markku Hyppönen