Re: Tabs and coding style (was: AT2 rewrites)
Oded Arbel <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Kieran wrote: >On Thu, 22 Aug 2002, Oded Arbel wrote: > > > >>>-----Original Message----- >>>From: Andreas Fink [mailto:[email protected]] >>> >>> >>>>> Why can't you people just get an editor that auto-indents >>>>> with spaces? :] >>>>> >>>>> >>>>Isn't that the whole point ? I have an editor which indents with >>>>spaces (KDevelop). All the Kannel sources either do not have tab >>>>stops at all, or very little - so how about just forgetting about >>>>tab stops completly ? >>>> >>>> >>>Again, to edit, you would expect to type TAB, not ever editor allows >>>to simply put spaces up to the next 4. Also if you delete one space >>>its gets messy. So really it means typing spaces BY HAND which I >>>consider really bad practice. >>> >>> >>Not if your editor can auto-indent with spaces, as any modern editor these days does. >> >> >> >>>Those editors who are using spaces as replacements for tabs are from >>>the days where you had no GUI, no mouse and no WYSIWIG. >>> >>> >>Actually - it's a newer feature. tabs are phasing out as a way to >>indent text, as you now have strong editors that don't need tabs for >>that. most editors that are still missing this feature are adding it >>now (like Kdevelop, who only got the auto-indent with spaces properly >>in the last version). >> >> >> >Is the kannel coding style documented anywhere? > >I spent a few minutes searching, and couldn't turn it up. > > > It's under doc/CodingStyle ;-) -- Oded Arbel m-Wise mobile solutions ::.. A hypothetical paradox: what would happen in a battle between an Enterprise security team, who always get killed soon after appearing, and a squad of Imperial Stormtroopers, who can't hit the broad side of a planet? -- Tom Galloway