ext_78: A picture of a plush animal. It looks a bit like a cross between a duck and a platypus. (barcode)
Philip Newton (LJ OpenID) ([identity profile] pne.livejournal.com) wrote in [personal profile] ewx 2007-04-05 07:43 pm (UTC)

Sounds good to me.

I tended to use four spaces, but at work we settled on tabs (since different people have different shiftwidth preferences, and tabs seemed to alleviate this a little) and that works fine.

As long as they're not mixed, in which case things will only look right at one shiftwidth setting.

And what is really bad is if code that uses mixed spaces and tabs gets edited by someone who has a different tabstop setting and automatically converts tabs to spaces on saving. I once had to work on such code, and it was a mess; I wish the original tabs had remained since then I could have fiddled with my tabstop setting to get it to look proper.

Post a comment in response:

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org