433 reputation
17
bio website
location Bend, OR
age 33
visits member for 1 year, 11 months
seen Feb 4 at 14:43

I like good design more than cool technology. Why am I working in software again?


Feb
4
awarded  Nice Answer
Dec
9
comment finding patterns into logs
I would argue that you are looking for a more specific solution, not a more generic one. I agree your current queries is not good enough; naively it sounds like it would miss most problems. I think the general approach I've outlined is the best one for your specific problem, it just needs to be used in conjunction with more information about your specific context. How would you know manually that a job got double billed? How would a customer who got the duplicate bill prove it was duplicate? The information that answers that question is what you need to log and query.
Dec
7
answered finding patterns into logs
Dec
7
comment finding patterns into logs
What kind of "incidents" are you trying to detect?
Dec
6
answered Parallel Class/Interface Hierarchy with the Facade Design Pattern?
Dec
5
comment How should I go about bringing this code under test?
What your saying is that your tests need not enforce good design, only good behavior. On that point we are destined to disagree.
Dec
3
comment How should I go about bringing this code under test?
The real testability problem here is that the responsibility of parsing arguments is couple to the responsibility of creating reporters and executing tests. Fundamentally, you are saying that code that isn't public should be coupled together as much as you want, with no separation of responsibilities.
Dec
3
comment How should I go about bringing this code under test?
"I should be able to move non-public code around freely without breaking tests." The down sides to that approach are many. First, if the parse responsibility starts throwing exceptions, your tests of the create_reporter responsibility also breaks. Second, your tests become harder to create and maintain -- to test creating a reporter, you have to create the right set of strings to get args to parse correctly. If you change an impl detail on what strings are allowed there, your reporter creation tests break.
Dec
3
awarded  Commentator
Dec
3
answered How should I go about bringing this code under test?
Oct
23
answered Switch vs Polymorphism when dealing with model and view
Aug
7
comment Modified Strategy Design Pattern
-1 requires downcast, breaks encapsulation of design. Though it is an improvement on the design in the question, there are better ways to skin this cat.
Aug
7
answered Design Pattern dilemma. Strategy seems wrong?
May
6
awarded  Yearling
Mar
14
comment How to set up a Java project with unit tests, references and something like a VS .sln using IntelliJ
I'm happy to change it or move it, I just need some help with this problem. If those of you who vote to close can give me some feedback about the problem and guidance on what I should do, I would appreciate it.
Mar
14
asked How to set up a Java project with unit tests, references and something like a VS .sln using IntelliJ
Feb
19
answered Count true array elements
Feb
14
answered Style for creating IEnumerable unions
Feb
8
revised Write tests for unit tests in TDD?
added 348 characters in body
Feb
8
comment Write tests for unit tests in TDD?
But it isn't a test framework that is being created here. The biggest reason to make AnyFullHouse a method is so I can give it an explanatory name. if it was inlined, would people react the same way?