Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | cri@tiac.net (Richard Harter) |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Tree implementation, ideas for keyboard input method needed |
| Date | 2012-01-17 02:00 +0000 |
| Message-ID | <4f14d611.406326054@text.giganews.com> (permalink) |
| References | <Xns9FDCEA347419Bbubbachipsetone@130.133.4.11> <0.0df232820930fa66438a.20120116222943GMT.87hazvnuw8.fsf@bsb.me.uk> <fioeu8-m8m.ln1@wilbur.25thandClement.com> <lnvcobyxln.fsf@nuthaus.mib.org> |
On Mon, 16 Jan 2012 16:35:48 -0800, Keith Thompson <kst-u@mib.org> wrote: >William Ahern <william@wilbur.25thandClement.com> writes: >> Ben Bacarisse <ben.usenet@bsb.me.uk> wrote: >>> Bubba <nickname@banelli.biz.invalid> writes: >> <snip> >>> > temp=i->first_child; >>> > i->first_child->label=l; >>> > i->first_child->first_child=NULL; >>> > i->first_child->next_sib=temp; >>> > i->first_child->last_child=NULL; >>> > i->first_child->zadnji=0; >>> > } >>> > return i->first_child; >>> > } >> >>> The lack of spaces and the confusion caused by using tabs is making this >>> hard to read so I'll stop here. >> >> You mean confusion caused by *not* using tabs, or by software trying to >> convert perfectly fine tabs to spaces and--not surprisingly--fscking the >> indentation? > >No, I'm fairly sure he means confusion caused by using tabs. > >> Tabs for indentation, spaces for alignment. Almost every editor gets this >> right by default. It's takes a concerted effort to screw it up. (I'm not >> laying blame on anyone in particular here. I'm presuming it's the OP's >> client software that is causing the problem.) > >I've worked on far too much code that has a random mixture of tabs >and spaces, with a tab representing a variable number of columns, >depending on who modified a particular line of code most recently. >My personal solution to the problem is to use spaces exclusively >for indentation -- and that was part of the coding standard at my >most recent job. (If I worked in environment that required the >exclusive use of tabs for indentation, of course I'd use tabs.) > >I'm not going to argue that you should follow my convention, but >you should be aware that there are perfectly legitimate reasons >for using spaces, even if you don't agree with them; people who use >spaces rather than tabs aren't necessarily doing so out of ignorance. > >And tabs can cause serious formatting problems when posting to >Usenet, because there's news software that doesn't handle them >correctly. And if you have a friendly editor it will convert tabs to spaces and vice versa just as you desire.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tree implementation, ideas for keyboard input method needed Bubba <nickname@banelli.biz.invalid> - 2012-01-16 22:01 +0000
Re: Tree implementation, ideas for keyboard input method needed Keith Thompson <kst-u@mib.org> - 2012-01-16 14:27 -0800
Re: Tree implementation, ideas for keyboard input method needed Bubba <nickname@banelli.biz.invalid> - 2012-01-16 22:36 +0000
Re: Tree implementation, ideas for keyboard input method needed Kaz Kylheku <kaz@kylheku.com> - 2012-01-16 22:53 +0000
Re: Tree implementation, ideas for keyboard input method needed James Kuyper <jameskuyper@verizon.net> - 2012-01-16 18:06 -0500
Re: Tree implementation, ideas for keyboard input method needed Keith Thompson <kst-u@mib.org> - 2012-01-16 16:41 -0800
Re: Tree implementation, ideas for keyboard input method needed Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-01-16 23:01 +0000
Re: Tree implementation, ideas for keyboard input method needed Shao Miller <sha0.miller@gmail.com> - 2012-01-16 19:49 -0500
Re: Tree implementation, ideas for keyboard input method needed Keith Thompson <kst-u@mib.org> - 2012-01-16 17:46 -0800
Re: Tree implementation, ideas for keyboard input method needed Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-01-16 22:29 +0000
Re: Tree implementation, ideas for keyboard input method needed Bubba <nickname@banelli.biz.invalid> - 2012-01-16 22:38 +0000
Re: Tree implementation, ideas for keyboard input method needed William Ahern <william@wilbur.25thandClement.com> - 2012-01-16 15:30 -0800
Re: Tree implementation, ideas for keyboard input method needed Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-01-17 00:03 +0000
Re: Tree implementation, ideas for keyboard input method needed Keith Thompson <kst-u@mib.org> - 2012-01-16 16:35 -0800
Re: Tree implementation, ideas for keyboard input method needed cri@tiac.net (Richard Harter) - 2012-01-17 02:00 +0000
Re: Tree implementation, ideas for keyboard input method needed Keith Thompson <kst-u@mib.org> - 2012-01-16 19:16 -0800
Re: Tree implementation, ideas for keyboard input method needed cri@tiac.net (Richard Harter) - 2012-01-17 05:15 +0000
Re: Tree implementation, ideas for keyboard input method needed Keith Thompson <kst-u@mib.org> - 2012-01-17 00:00 -0800
Re: Tree implementation, ideas for keyboard input method needed Kaz Kylheku <kaz@kylheku.com> - 2012-01-17 04:04 +0000
Re: Tree implementation, ideas for keyboard input method needed Kaz Kylheku <kaz@kylheku.com> - 2012-01-16 22:44 +0000
Re: Tree implementation, ideas for keyboard input method needed Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-01-16 17:58 -0500
Re: Tree implementation, ideas for keyboard input method needed ImpalerCore <jadill33@gmail.com> - 2012-01-16 19:36 -0800
Re: Tree implementation, ideas for keyboard input method needed Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-01-16 23:33 -0500
Re: Tree implementation, ideas for keyboard input method needed ImpalerCore <jadill33@gmail.com> - 2012-01-17 07:18 -0800
Re: Tree implementation, ideas for keyboard input method needed "BartC" <bc@freeuk.com> - 2012-01-17 13:54 +0000
Re: Tree implementation, ideas for keyboard input method needed ImpalerCore <jadill33@gmail.com> - 2012-01-17 07:39 -0800
Re: Tree implementation, ideas for keyboard input method needed Kaz Kylheku <kaz@kylheku.com> - 2012-01-17 19:01 +0000
Re: Tree implementation, ideas for keyboard input method needed jgk@panix.com (Joe keane) - 2012-01-18 21:21 +0000
csiph-web