sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: "Sergey A. Lipnevich" <sergey AT optimaltec.com>
- To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- Cc: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] Coding Styles . . .
- Date: Tue, 17 Jun 2003 19:18:58 -0400
EMACS can actually format a shell script for us, but it does have parameters I believe, and we may just need to come up with a uniform set of parameters for shell-script-mode to put in front of every source file in EMACS "local variables" notation: http://www.gnu.org/manual/emacs-21.2/html_chapter/emacs_33.html#SEC486
I understand that not everyone's using EMACS, but that's the best non-people-centric measure I can think of.
Dufflebunk wrote:
I'm mostly to blame for those tabs. When I rewrite a lib I usually use
tabs rather than spaces because hitting the space bar 12 times or the
backspace 12 times isn't my idea of fun for indentation.
A consistent coding style in sorcery would be nice, but due to a lack
of something written out on what this style is, and a lack of time to
code in it, it's not that way. There is (or was) a draft document on the
wiki on what we wanted the style like in a rewrite.
It's easy to maintain the same coding style if you're the only one
writing the code. It's hard to maintain if there are several people.
On Tue, 2003-06-17 at 10:45, Jason Flatt wrote:
This is a /really/ minor point, but I just thought I'd bring it up to find out where I/we stand on the issue.
When I first got into Sorcerer 1.5 years ago, one of the big things people lauded Kyle about was how he wrote and spaced his code and how it made it so much more readable. I personally could see some benefit to the way Kyle had coded things, but I wasn't necessarily sure that his spacing was all /that/ wonderful. :^)
However, it seems that we in Source Mage have gotten away from that coding style. It also seems to me that there really is /no/ coding style anymore and it's possible to find code with single spaces, two or more spaces, tabs and mixed spacing all through out the whole of Source Mage. I certainly don't want to hold up progress w/my Type A tendencies, :^) but I also don't want to hold up my progress by sticking to a coding style that no one else is using.
So, which is it? Get uniform based on something someone has put into place, or just go willy-nilly doing whatever?
_______________________________________________
SM-Discuss mailing list
SM-Discuss AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-discuss
-
[SM-Discuss] Coding Styles . . .,
Jason Flatt, 06/17/2003
-
Re: [SM-Discuss] Coding Styles . . .,
Dufflebunk, 06/17/2003
- Re: [SM-Discuss] Coding Styles . . ., Sergey A. Lipnevich, 06/17/2003
- Re: [SM-Discuss] Coding Styles . . ., Bas van Gils, 06/18/2003
- Re: [SM-Discuss] Coding Styles . . ., Sergey A. Lipnevich, 06/17/2003
- <Possible follow-up(s)>
- Re: [SM-Discuss] Coding Styles . . ., Dufflebunk, 06/17/2003
-
Re: [SM-Discuss] Coding Styles . . .,
Dufflebunk, 06/17/2003
Archive powered by MHonArc 2.6.24.