Hi, For one of my current projects, I am having trouble of thinking how to proceed, and I was wondering if anyone could give me some ideas. The project is to...
... Well, yes, but MAXIMUM_ALLOWABLE_TIME is 2 minutes, and MaximumConceivableDirectory is not really limited. We can easily conceive of 10000+ files required,...
Anthony, What would be the content of the index data your return? What are you actually providing back to the client? I would lean towards having a simple ...
... The files are essentially records in a database, each of which contains various "key" fields, and a host of data. The client can request a list of files...
... I'm not sure whether you are wanting TDD to "find" a solution for you, or just to use TDD to develop a solution you've chosen, but it sounds like the ...
... Well, one might pick an interface, but not a solution. Presumably we have the outside interface already given, the one that the system already uses. I'm...
... Right, ok. ... It sounds like you already have a part solution, but it just isnt performant enough. You need to make a decision on something so you can...
... Up until now, when I've been coding TDD, its been to add clear features --- in this situation, the code must do X, in that situation it must do Y. This...
... Fundamentally, yes. ... Yes, but we can't change the interface --- it has to exactly match that provided by another server. ... Currently, the code caches...
... I don't think one can "discover" quicksort using TDD or [any other scheme?] by manipulating the code. I suspect one has to discover it by reasoning about...
... Yes. ... Building the index is the slow part, but currently the app builds the index on first query, to catch updates to the directory. I think I'll TDD a...
... << snip >> ... When each client connects, do they involve a rebuild of the index which is then cached for that client session? If this is the case, then I...
... Yes. ... Yes. It was just the simplest thing that worked. Now it is no longer sufficient. ... That would be doable, but then there's the issues of catching...
... More the latter than the former. There are lovely moments when TDD helps you stumble upon a simpler solution than you thought. But TDD is not a reliable...
I wouldn't try returning *anything* from this method. I wouldn't have a catch block, either. Let the exception propagate. This method shouldn't be trying to do...
... Throughput can be a nasty issue. You can waste lots of time pursuing it without making a dent in it. So first it's important to set an objective ...
... Well, not Reading, England for me. But, I would like to meet folks from Reading, PA, USA, or even better Philadelphia, PA area :) ... Good luck. Cheers, ...
Anthony Williams <anthony_w.geo@...> wrote: << snip >> ... There are many ways in which this could be solved, increasing in order of complexity. As an...
I'm struggling with this right now, as I try to implement suffix trees, DAGs, etc. The general problem seems to be that a lot of algorithms on data structures...
In Nunit the Expected Exception Attribute will turn green the bar green if the exception is thrown from the setup code or teardown code, so when testing...
... then I the programmer flaw is larger than the macro flaw. This kind of code scream side effects. You are practically begging for trouble. /Thomas...
... I can respect that philosophy, but your solution makes me uncomfortable - perhaps that is because I do not understand exception handling well. Personally,...
Carlton, There's a lot of discussion about philosophies of exception handling; even experts disagree, and I'm no expert. Bruce Eckels discusses Java's checked...
Banshee, I'm sorry to go around and around like this, but what are you actually trying to test? That the method returns a certain kind of document? You're not...