> -----Original Message----- > From: Scott Dattalo [SMTP:scott@DATTALO.COM] > Sent: Wednesday, June 19, 2002 12:07 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: coding style > > On Wed, 19 Jun 2002, Guillermo Rodriguez Garcia wrote: > > > > > At the end I think I'm going to adopt the following: > > And now I think you'll see the opinions come spewing in from all angles... > > > - only tabs, no spaces. 4-spaces per indentation level. > > I personally prefer spaces and no tabs. Why? because there is no standard > tab spacing, but 8 is the most common. However, if you display your > 4-space tabs as 8-space tabs, the document will look very messy. (Not to > mention, the piclist archive of your tabbed files will look horrible). > > OTOH, If I know your files are formatted with tab equal to 8 spaces, I can > run expand/unexpand (unix utilities) to fix it. > > Scott > Another one of those things that has arguments for and against I guess, but I prefer tabs simply because it's so much faster to tidy up any indenting and generaly moving the cursor around. Any decent editor should let you set the number of "spaces" per tab, although I would have to agree about the archive problem. 8 space tabs are way too large IMO and make the program messier rather than neater and easier to follow, 3 or 4 spaces seems a good compromise. Regards Mike -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body