Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8477
| Newsgroups | comp.lang.php |
|---|---|
| Subject | Re: simpletest vs phpunit vs ... |
| References | <aogq26FaaoiU1@mid.individual.net> <87ehg8ozce.fsf@huddi.jernurt.dk> <kg9342$kin$1@news.xmission.com> <87wqtzo752.fsf@huddi.jernurt.dk> <kge9ob$jri$2@news.xmission.com> |
| From | Anders Wegge Keller <wegge@wegge.dk> |
| Date | 2013-02-25 19:28 +0100 |
| Message-ID | <87k3pwnt78.fsf@huddi.jernurt.dk> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
legalize+jeeves@mail.xmission.com (Richard) writes: > [Please do not mail me a copy of your followup] Talking about strawmen-arguiments :) > Anders Wegge Keller <wegge@wegge.dk> spake the secret code > <87wqtzo752.fsf@huddi.jernurt.dk> thusly: >> Didn't you say that refactoring could eliminate the need for >>comments? > > Which is not the same thing as me telling you to go refactor half a > million lines of code. Where did I tell you to do that? Nowhere. You made a blanket statement about refactoring being the replacement for comments. I provided you with a real-world situation, where refactoring is not a practical option in my world view. At that point, you could have augmented your original position with a limitation to its usefullness. That would have provided a starting point for a discussion about the practical limits of different philosophies in that regard. So instead of riling yourself up, please tell me what you consider an upper limit wrt. code complexity and SLOC for refactoring. And at the same time, let me add another concern about refactoring code. This also stems from my work in a project-oriented organization. On average, 92-93% of the code is identical with the base code. It's not the same parts that are identical in the individual projects. From time to time[1] we find a bug in the base code. The SOP in this case is to test it throughly in the base code, and then patch the difference onto each project derived from that base. This is normally an easy operation, as the code in most cases look identical. But if we had refactored each project agressively, we would be in a bad situation, when applying a fix from the base software. I already mentioned a guess about your experience being in product development, where you are not bound by these concernes in the same way, but I'm curious if I'm right or wrong? 1. Mostly whenever we are forced onto faster hardware. Then we always seem to find a new race condition, that have been hiding for 25 years. -- /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
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