From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7153 invoked from network); 29 Sep 2006 08:05:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Sep 2006 08:05:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 65201 invoked from network); 29 Sep 2006 08:05:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Sep 2006 08:05:22 -0000 Received: (qmail 3873 invoked by alias); 29 Sep 2006 08:05:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22786 Received: (qmail 3863 invoked from network); 29 Sep 2006 08:05:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Sep 2006 08:05:18 -0000 Received: (qmail 64832 invoked from network); 29 Sep 2006 08:05:18 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 29 Sep 2006 08:05:17 -0000 Received: from 212.red-80-35-44.staticip.rima-tde.net ([80.35.44.212]:38901 helo=localhost) by ns9.hostinglmi.net with esmtpa (Exim 4.52) id 1GTDN2-0002v0-2H; Fri, 29 Sep 2006 10:05:20 +0200 Date: Fri, 29 Sep 2006 10:05:24 +0200 From: DervishD To: Bart Schaefer Cc: Zsh hackers list Subject: Re: Stuff to do Message-ID: <20060929080524.GE13837@DervishD> Mail-Followup-To: Bart Schaefer , Zsh hackers list References: <200609271211.k8RCBW5N023914@news01.csr.com> <20060927130912.GF14041@DervishD> <060928202047.ZM4360@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <060928202047.ZM4360@torch.brasslantern.com> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: Hi Bart :) * Bart Schaefer dixit: > On Sep 27, 3:09pm, DervishD wrote: > } I've read some of the code in zsh and sincerely, I would > } start it from scratch. > > Having worked in the software industry for going on 20 years now, I > can say with quite some confidence that once a piece of code > reaches a certain level of complexity, this is almost always the > wrong approach. I think that this depends on how messy is the code in the project. I mean, if the code is so messy (and that doesn't mean complex) that every time you touch anything you wreck havoc, then doing something from start is a good idea (IMHO). I suppose that it's a question of evaluating maintainability versus the effort of starting from scratch. If a project is barely maintainable, sometimes it's better to start from scratch, but again that depends on how complex the design is, of course. > Zsh passed that level of complexity a very long time ago. I know, and of course I'm not asking you to start the code from scratch, I'm just saying that *I* would do it ;)) I have a project that too passed that level of complexity a time ago, and in fact I left the project in the hands of the other co-author because I wasn't motivated enough to continue, and probably rewriting it will be a complete stupidity, but if I had the time, I swear I'll rewrite it from scratch. I simply hate maintaining code that tries to resist every try of being maintained and which contains pieces that nobody understands XD With Zsh, I think that I would use a subset of it, as you suggest, if I would start a "new-Zsh". Rewriting all from the scratch is probably impossible now, because if you want to create a bug-compatible version of "new-Zsh" you will probably have to use the same code, so... Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen!