Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8442

Re: simpletest vs phpunit vs ...

Newsgroups comp.lang.php
Subject Re: simpletest vs phpunit vs ...
References <aogq26FaaoiU1@mid.individual.net> <kg66k7$b7j$1@news.albasani.net> <kg6ff8$jvi$1@news.xmission.com> <timstreater-DEEF13.10492722022013@news.individual.net> <kg8k3l$2qp$2@news.xmission.com>
From Anders Wegge Keller <wegge@wegge.dk>
Date 2013-02-22 21:41 +0100
Message-ID <87ehg8ozce.fsf@huddi.jernurt.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


legalize+jeeves@mail.xmission.com (Richard) writes:

> In my decades of experience looking at other people's code, code that
> is aggressively refactored and has well chosen identifiers -- in other
> words the kind of code that I and others are saying doesn't need
> explanatory comments -- is much, much more maintainable years or
> decades later than code festooned with explanatory comments.

 You are right. And you're wrong.

 I guess that your primary work is on a _product_ that is debugged,
refined, relased over and over again, but never exist in more than one
incarnation. If that is so, you are probably right.

 If on the other hand, you had been working in a project organization,
like I do, you would have known that there isn't enough time to
refactor all 600.000 lines of code[1], for each of the 600 projects
that has 92-96% of the code in common. What you'd do, had you worked
at my job, would be commenting the changes to the routing code
algorithm. And depending on the particulars, it could be so simple as
to explain that characters 4 to 17 of the barcode scanned is looked up
in a table that tells the destination, or refering to a 17 page
flowchart[2], that explains the neccesity of all the backtracking
that's done.

 My claim is that what works for you, doesn't neccesarily work for
everyone else.


1. C in this case. But that's probably not changing the merits of my
   observations.

2.I'm not making this up. There's one postal order company in Germany,
  that sorts parcel according to the individual rules of 13 different
  european countries, an with barcode labels having a rather limited
  amount of expression, wrt. length and typology, this leads to
  insanity.

-- 
/Wegge

Leder efter redundant peering af dk.*,linux.debian.*

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

simpletest vs phpunit vs ... Simon <bad@example.com> - 2013-02-19 10:05 +0200
  Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-19 08:22 -0500
    Re: simpletest vs phpunit vs ... Goran <goran@nospam.com> - 2013-02-21 11:09 +0100
      Re: simpletest vs phpunit vs ... Scott Johnson <noonehome@chalupasworld.com> - 2013-02-21 05:40 -0800
        Re: simpletest vs phpunit vs ... Goran <goran@nospam.com> - 2013-02-22 09:05 +0100
          Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 08:52 -0500
            Re: simpletest vs phpunit vs ... Goran <goran@nospam.com> - 2013-02-22 16:03 +0100
              Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 10:14 -0500
  Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-21 19:27 +0000
    Re: simpletest vs phpunit vs ... Chris Riesbeck <Chris.Riesbeck@gmail.com> - 2013-02-21 14:08 -0600
      Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-21 21:53 +0000
        Re: simpletest vs phpunit vs ... The Natural Philosopher <tnp@invalid.invalid> - 2013-02-21 22:20 +0000
          Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 00:51 +0000
            Re: simpletest vs phpunit vs ... "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-22 11:29 +0100
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:21 +0000
            Re: simpletest vs phpunit vs ... Tim Streater <timstreater@greenbee.net> - 2013-02-22 10:49 +0000
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:23 +0000
                Re: simpletest vs phpunit vs ... Anders Wegge Keller <wegge@wegge.dk> - 2013-02-22 21:41 +0100
                Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-23 00:39 +0000
                Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 19:51 -0500
                Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-24 23:49 +0000
                Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-24 20:17 -0500
                Re: simpletest vs phpunit vs ... Anders Wegge Keller <wegge@wegge.dk> - 2013-02-23 07:51 +0100
                Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-25 00:03 +0000
                Re: simpletest vs phpunit vs ... Anders Wegge Keller <wegge@wegge.dk> - 2013-02-25 19:28 +0100
            Re: simpletest vs phpunit vs ... "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-22 12:24 +0100
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:26 +0000
            Re: simpletest vs phpunit vs ... Simon <bad@example.com> - 2013-02-22 14:06 +0200
            Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 08:57 -0500
              Re: simpletest vs phpunit vs ... bill <william@TechServSys.com> - 2013-02-22 10:55 -0500
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:27 +0000
                Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 16:57 -0500
  Re: simpletest vs phpunit vs ... Simon <bad@example.com> - 2013-02-22 14:15 +0200
  Re: simpletest vs phpunit vs ... Martin Musatov <marty.musatov@gmail.com> - 2013-02-22 23:38 -0800

csiph-web