Re: My whitespace style (was: Why?? (prog question))

2009-05-22 Thread Rada alive
On Mon, Apr 13, 2009 at 4:09 PM, David Kelly dke...@hiwaay.net wrote: On Mon, Apr 13, 2009 at 10:46:26AM +0200, deeptec...@gmail.com wrote: Tabs are better, because they allow the programmer to specify the desired width, and is dynamically changable at any time. Spaces are better because

Re: Why?? (prog question)

2009-04-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lowell Gilbert wrote: Chuck Robey chu...@telenix.org writes: Lowell Gilbert wrote: Chuck Robey chu...@telenix.org writes: The only real sin is not sticking to one style per project. Or at *least* per file. Umm, no, per project. Folks are too

Re: Why?? (prog question)

2009-04-02 Thread Oliver Fromme
William Gordon Rutherdale wrote: [...] I don't think I've ever written the word dedent in my life, at least until this paragraph. In fact, I'm not convinced that it IS a word. It's a technical term, sometimes used in the context of code editors to denote the opposite of indent. For

Re: Why?? (prog question)

2009-04-02 Thread Dag-Erling Smørgrav
Oliver Fromme o...@lurza.secnetix.de writes: William Gordon Rutherdale wrote: [...] I don't think I've ever written the word dedent in my life, at least until this paragraph. In fact, I'm not convinced that it IS a word. It's a technical term, No, the correct term is outdent. DES --

Re: Why?? (prog question)

2009-04-02 Thread spellberg_robert
hi, muffy; hi, biff --- golly, gee_whillikers, kids, i always thought it was undent; equal length, minimum diff. see you all at the malt_shop, after the sock_hop. rob Oliver Fromme wrote: Dag-Erling Smørgrav wrote: Oliver Fromme o...@lurza.secnetix.de writes: William Gordon

Re: Why?? (prog question)

2009-04-02 Thread Jayton Garnett
What about exdent or unident? Surely we should discuss these terms for describing an un-dented indent? http://ask.metafilter.com/7214/The-opposite-of-indent Taken from Wikipedia: Debates over where to indent, whether to use spaces or tabs, and how many spaces to use are often hotly debated among

Re: Why?? (prog question)

2009-04-02 Thread Oliver Fromme
Polytropon free...@edvax.de wrote: Oliver Fromme wrote: [...] What's bad is when several styles are mixed, e. g. Of course. I don't think anyone disagrees with that. I assume that every modern editor can be configured that way. Even old fashioned ones can, take the mcedit

Re: Why?? (prog question)

2009-04-02 Thread Polytropon
On Thu, 2 Apr 2009 18:03:01 +0200 (CEST), Oliver Fromme o...@lurza.secnetix.de wrote: Uhm. I wouldn't call joe old fashioned. It has a long history, but it's not older than, say, BSD. Would you call BSD old fashioned? IF I do, you may throw an AS/400 at my head. :-) Allthough BSD has a

Re: Why?? (prog question)

2009-04-02 Thread ill...@gmail.com
2009/4/2 Oliver Fromme o...@lurza.secnetix.de:  Would you call BSD old fashioned? No. I would call it old-fashion. In keeping with the in/ex/un/out-dent theme, of course. -- -- ___ freebsd-chat@freebsd.org mailing list

Re: Why?? (prog question)

2009-04-02 Thread KAYVEN RIESE
On Thu, 2 Apr 2009, Dag-Erling Smørgrav wrote: KAYVEN RIESE ka...@sfsu.edu writes: Dag-Erling Smørgrav d...@des.no writes: Have you considered combining the two (computer science and molecular biology) and going into bioinformatics? disaster. data mining people don't give a @*# about the

Re: Why?? (prog question)

2009-04-01 Thread Oliver Fromme
(Note: Redirected to -chat.) William Gordon Rutherdale wrote: There is a very logical reason in C for wanting to put the opening brace of an 'if' statement on a separate line: preprocessor statements. The preprocessor is one of the biggest mistakes in the design of the C language. This

Re: Why?? (prog question)

2009-04-01 Thread KAYVEN RIESE
On Wed, 1 Apr 2009, Oliver Fromme wrote: Note: I've redirected this to -chat. This thread does *not* belong on the -questions list. Polytropon free...@edvax.de wrote: William Gordon Rutherdale wrote: In all of those cases, I simply press the Tab key to indent, and the Backspace key to

Re: Why?? (prog question)

2009-04-01 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lowell Gilbert wrote: Chuck Robey chu...@telenix.org writes: The only real sin is not sticking to one style per project. Or at *least* per file. Umm, no, per project. Folks are too pushed into errors when a project has 29 different styles. I

Re: Why?? (prog question)

2009-04-01 Thread Lowell Gilbert
Chuck Robey chu...@telenix.org writes: Lowell Gilbert wrote: Chuck Robey chu...@telenix.org writes: The only real sin is not sticking to one style per project. Or at *least* per file. Umm, no, per project. Folks are too pushed into errors when a project has 29 different styles. If

Re: Why?? (prog question)

2009-04-01 Thread Dag-Erling Smørgrav
KAYVEN RIESE ka...@sfsu.edu writes: [...] I hold a BSCS from the late cretaceous of 1989. After that I started studying molecular biology [...] having idioticaly tried to get back into computer science [...] Have you considered combining the two (computer science and molecular biology) and

Re: Why?? (prog question)

2009-04-01 Thread William Gordon Rutherdale
KAYVEN RIESE wrote: On Wed, 1 Apr 2009, Oliver Fromme wrote: Polytropon free...@edvax.de wrote: William Gordon Rutherdale wrote: In all of those cases, I simply press the Tab key to indent, and the Backspace key to dedent. There is no need to change habits. The editor takes care of it.

Re: Why?? (prog question)

2009-04-01 Thread KAYVEN RIESE
On Thu, 2 Apr 2009, Dag-Erling Smørgrav wrote: KAYVEN RIESE ka...@sfsu.edu writes: [...] I hold a BSCS from the late cretaceous of 1989. After that I started studying molecular biology [...] having idioticaly tried to get back into computer science [...] Have you considered combining the

Re: Why?? (prog question)

2009-04-01 Thread KAYVEN RIESE
On Wed, 1 Apr 2009, William Gordon Rutherdale wrote: KAYVEN RIESE wrote: On Wed, 1 Apr 2009, Oliver Fromme wrote: Polytropon free...@edvax.de wrote: William Gordon Rutherdale wrote: In all of those cases, I simply press the Tab key to indent, and the Backspace key to dedent. There is

Re: Why?? (prog question)

2009-04-01 Thread Dag-Erling Smørgrav
KAYVEN RIESE ka...@sfsu.edu writes: Dag-Erling Smørgrav d...@des.no writes: Have you considered combining the two (computer science and molecular biology) and going into bioinformatics? disaster. data mining people don't give a @*# about the facts. I'm not sure to whom you refer as data

Re: Why?? (prog question)

2009-03-31 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 michael wrote: Moved to FreeBSD-chat, all opinions really belong there. Wojciech Puchar wrote: Tabbing is the worst form of indentation. It is *much* better to use spaces consistently. The only real sin is not sticking to one style per

Re: Why?? (prog question)

2009-03-31 Thread Wojciech Puchar
someprocedure(const int *X,const int *Y, const int *Z,int length) { sorry no const near Z ;) someworkhere(); coded_in_any_style_may_be_mess } example of BAD comments: a=b+3; //adds 3 to b and stores result to a ___ freebsd-chat@freebsd.org