From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11232c,c4ac8be162bc5e3 X-Google-Attributes: gid11232c,public X-Google-Thread: 103376,41100a78496a4c71 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-06 14:11:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!news.mailgate.org!mygate.mailgate.org!198.207.153.205!not-for-mail From: "Kent Paul Dolan" Newsgroups: comp.lang.ada,misc.misc Subject: Re: Metrics! (was) Nethack! (was): AdaGames Date: Sat, 6 Apr 2002 22:11:47 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: References: <98104da8.0203280310.143a1c18@posting.google.com> <4519e058.0203290613.73b55af4@posting.google.com> <6g4gaugv9a85i56kvgcgmu4h2jkjprutec@4ax.com> <4519e058.0204010704.ed2cd06@posting.google.com> <4519e058.0204021030.14127b06@posting.google.com> <4519e058.0204030750.78a30287@posting.google.com> <3CAC7AC6.A6DBDC32@despammed.com> <4519e058.0204050643.30f2e516@posting.google.com> <3CAE0C16.5B1E974B@despammed.com> NNTP-Posting-Host: 198.207.153.205 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1018116853 6520 198.207.153.205 (Sun Apr 7 00:11:47 2002) X-Complaints-To: abuse@mailgate.org NNTP-Posting-Date: Sat, 6 Apr 2002 22:11:47 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=198.207.153.205; posting-account=48257; posting-date=1018116853 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.lang.ada/dc6cb673830e05417ae0318c873c933b.48257%40mygate.mailgate.org Xref: archiver1.google.com comp.lang.ada:22180 misc.misc:6162 Date: 2002-04-06T22:11:47+00:00 List-Id: "Wes Groleau" wrote: [and quoted without attribution:] > > Then there was the week I decided to refactor several badly designed > > units, and got a visit from a bemused team lead mock-castigating me > > for making *negative* progress that week. :-) > In my fifteen or so years as a "software engineer," > I would estimate that about half of the bug fixes > and 20% of the enhancements I've done have been > accomplished by REMOVING code. Yes, that experience here is as fresh as an hour ago. Given a few hints over in comp.lang.java.programmer, I realized that I'd over-coupled some code and misplaced other code. By the time I finished five hours work, I'd probably ripped out three times as much code as I added, and detached 26 modules from one module they didn't need to reference, and removed about eight other instances of excess coupling. Those are the days that make you feel best as a programmer -- when you can actually put to use all that stuff you learned about what makes good software. And as you say, lots of times it is by exercising the CS equivalent of Occam's Razor. xanthian. -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG