ewx: (poll)
[personal profile] ewx
[Poll #959499]

(Ignoring languages like make where you don't have any choice.)

(no subject)

Date: 2007-04-05 07:43 pm (UTC)
ext_78: A picture of a plush animal. It looks a bit like a cross between a duck and a platypus. (barcode)
From: [identity profile] pne.livejournal.com
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.

February 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425262728 

Most Popular Tags

Expand Cut Tags

No cut tags