| bio | website | http:/none |
|---|---|---|
| location | India | |
| age | 27 | |
| visits | member for | 1 year |
| seen | Apr 5 at 16:20 | |
| stats | profile views | 15 |
.NET Software programmer with interest in WPF, Linq, Debugging, Multithreading, and Design Patterns.
|
Feb 26 |
awarded | Caucus |
|
Feb 26 |
awarded | Constituent |
|
Feb 22 |
awarded | Critic |
|
Feb 22 |
awarded | Scholar |
|
Feb 22 |
accepted | How much to test in TDD? |
|
Jan 16 |
comment |
How much to test in TDD? There is no branching. Only Setters. I have got the answer here related to constructor. For other methods i need to figure out, as you have suggested. |
|
Jan 14 |
comment |
How much to test in TDD? My question is about granularity. Example I can write one InitializationTest that tests initialization of all the parameters. As an alternative i can write CheckIfIsBusyInitializedToFalseTest, CheckIfElapsedTimeIsInitializedToZeroTest and so on. In line with this example, Suppose there are 10 data members, Should i write one test, 10 tests (one per member), or 3-4 (group similar members together) ? |
|
Jan 13 |
awarded | Student |
|
Jan 13 |
asked | How much to test in TDD? |
|
Jan 8 |
comment |
How to learn to explain and differentiate types of design pattern concepts I have done that. Problem is that while reading, I convince myself that i have learned with help of some QA (what/why) in my mind. Once book is off, i fumble on every second word while explaining to others |
|
Jan 8 |
asked | How to learn to explain and differentiate types of design pattern concepts |
|
Dec 28 |
comment |
What is the reason behind methods with return values and methods with void? It depends upon whether you want to use return value in the calling function or not. |
|
Dec 28 |
awarded | Editor |
|
Dec 27 |
answered | is it okay to remove copyright info from a free, open source API even if you are explicitly told not to do so? |
|
Dec 20 |
comment |
Adding Methods In Addition to an Interface Well, then define new interface for that single implementation extending the existing interface. To the portion unaware of special implementation, use existing interface, To the portion aware of special implementation, use new interface. You can't however use special implementation without being aware of it. My english is messed up, but i hope my message is clear |
|
Dec 20 |
comment |
Adding Methods In Addition to an Interface I dont know java equivalent, But Object array should suffice. Otherwise only option left is overloaded methods. |
|
Dec 20 |
comment |
Adding Methods In Addition to an Interface If it can have variable number of parameters, use params instead in interface. |
|
Dec 20 |
answered | Adding Methods In Addition to an Interface |
|
Dec 20 |
answered | Decrementing/Incrementing loop variable inside for loop. Is this code smell? |
|
Dec 20 |
answered | design for interruptable operations |