There you have a point!. The discussion is fun. But it goes nowhere, of course, hehehe.

I'm just wondering how do you catch a typo in a nested if / if statement...? Ohh sorry, yes... you unit test it ^o).

Now, as a matter of fact, Java is pretty dynamic in some respects. Now that you talked about Generics, they're a good thing for 80% of a collection uses. Of course, there's that 20% that needs complete polymorphism... but why not add the "every object in this list is an int" automatic test and just relax and keep coding?

... instead of wondering if that code that fires under certain concurrency conditions will fail. Of course, we can always write unit tests for "2+2" and avoid the pain.

--
Ing. Leonardo Quijano Vincenzi
DTQ Software



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to