Well, I for one don't see the interest in the files/database question. It's just an implementation choice - hide it. What you really want to do is get hold of...
... It seems so to me as well. I could see the DB as a way to do indexing "on the fly" on the site instead of pre-calculating the indexes. But since the site...
... But what price does that advantage come with? John Roth brought into words what I was thinking (but didn't realize) - XSL is hard to test, so use something...
... It's a good angle, and a tempting one, but it's just an angle. In any legacy situation, it's tempting to go to a new implementation or a new technology or...
... I find that with a lot of the English Ruby documentation. The past 2 nights I've been struggling with some TkRuby stuff, and most of the documentation is...
Ron, I think, if I was considering a project like your site I would be tempted to get into object code as quickly as possible. Basically try to treat an...
... Yes ... sort of. Zope, for example, is arguably an object model for a web site. It's a big framework, however, and I'm not sure it would really help in my...
Excellent advice! A technique that I have found very useful in this situation when using rMock http://rmock.sf.net is using "intercept". If I would use it on ...
... You're right. I knew instinctively that my opinions were going to trigger some negative reaction but I didn't make the clear mental connection between ...
... I've unit-tested functional programs and it is MUCH easier. A framework can be written in an hour. Your datasets can be typed inline and transformed to...
One of the strengths of TDD tests is that they function as change-detectors -- an unintended change should cause the tests to fail. A necessary side-effect of...
... That balance is an illusion. Discussions such as these are heavily weighted by self-selection already. At best, you can hope to polarize. However, that too...
I ran into this quote from Larry O'Brian in today's Software Development Times (May 1, 2006). "While unit tests help greatly in documenting fixes, to the...
... I don't know if I would call it "false" confidence. I'm much more confident when dealing with explicit assumptions than I am with implicit ones. If I ...
... I agree that if you make an incorrect assumption, and don't know it's incorrect, that unit tests will affirm incorrect what you've incorrectly assume. This...
... It's certainly true that if you have the requirements wrong, the code is likely to be wrong as well. The test: Assert.AreEqual(5, Numbers.Sum(2, 1, 1)); ...
... Indeed, Bill. Although my work is in some sense "inside" the Agile Movement (whatever that is), and I do try sometimes to influence the whole thing (much...
... Dan, I want to be clear that I respect your view on this, and understand where it might come from, especially because of your upbringing. Many people who...
... I ran into a similar situation like you describe, where changing the internal storage of some object caused major hassles. Turns out I learned (after much...
Hi, What might be the quickest way to refactor a project that is full of this: if (ViewState["MyVar"] != null) { myVar = (int) ViewState["MyVar"]; } into...
To make things easier to test, I've started following a pattern similar to this: class StateKey { private string keyName; private ViewStateKey(string keyName) ...
from Re: [TDD] Is a commented code a smell? ... --OT-- Sigh again.. Another story. We had this piece of yarn that people had been spinning since I was born. By...
OK, that works, but I don't see a compelling advantage over properties. Ordinary properties are typed, and appear to be TSTTCPW besides. Yes, I think the time...
... I'm using the trial version 2.0, and it doesn't seem to be able to handle such refactorings very well. The only time when search and replace doesn't seem...
Yes you can do it, by doing multiple refactorings, but I don't think it's the easiest way in this case, since you need to first create a field, then make it a...
... Bob, I have to say that your suggestions on this thread have been very useful and thought provoking. This one in particular has me thinking completely...