[OT] Spaces/tabs (Was: simple display (from: GUI library for D))

"Jérôme M. Berger" jeberger at free.fr
Wed Apr 13 12:11:24 PDT 2011


Nick Sabalausky wrote:
> ""J�r�me M. Berger"" <jeberger at free.fr> wrote in message 
> news:io230l$1ldc$3 at digitalmars.com...
>> Well, I have worked in both environments, and I have seen a lot
>> more mess ups with tabs than with spaces... Other than that (and the
>> fact that almost *no* editors are able to do it properly), I would
>> really prefer "tabs for indent, spaces for align".
> 
> I prefer "tabs for indent, tabs for align, spaces for separation", but that 
> requires elastic tabstops. And at least one of the biggest code-edit 
> controls out there (the one I use), Scintilla, doesn't support them :(
> 
> 
	That depends what you mean by "align". I agree that for the
following, elastic tab stops would be best:

int      a;
SomeType b;

	However, for this, I think that spaces are better:

doSomething (someLongParameterThatJustifiesBreakingTheLine,
             someOtherLongParameterJustInCase);

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110413/8ec7d33c/attachment.pgp>


More information about the Digitalmars-d mailing list