3 ms·
> code which is hard to test is almost always going to be hard to maintain This is a pointless equivalence to make. You're trying to suggest that code which is
by ubu7737 9y ago
> code which is hard to test is almost always going to be hard to maintain
This is a pointless equivalence to make. You're trying to suggest that code which is hard to test could be written differently, and better. This is not always true, and therefore useless to say.
STUXNET was very difficult to test. Reports are that it required an entire Israeli nuclear facility as a test environment. Would you suggest that STUXNET was written to a substandard level of professionalism? I doubt it.
- sushisource 9y agoYou're missing the word "almost". It's important. Attacking parent comment with an absurd statement no one would agree with isn't a great argument. He literally admits it's not always true in the sentence
- tieTYT 9y agoMaybe it's only difficult to test end-to-end? I would assume there's code in there that's algorithm-like. Give it these inputs, it should return these outputs. If so, it should be possible to isolate that code and test it. But, I dunno, I haven't looked at the source code. It might be very difficult to maintain.