Hacker News new | ask | show | jobs
by rmanolis 563 days ago
yes, it can't.

For some “can't” statements, you don't need to write any error.

The “can't” statements in CDD are for actions and input that you could take, but the software deliberately prevents you from doing them.

There are no actions or input, requested from the exercise that make it possible to do the list you gave me, so it does not make sense to create an error for them.

1 comments

The TDD and DDD ultimately tell you which inputs are of interest. CDD doesn't, so it's apples to oranges.

People who think that specifically TDD is a programming technique didn't get the entire memo. It can drive you to design and re-design your app's inputs. But that part of TDD is tacit - hard to teach.

What are you even talking about?

where in the article say that CDD does not care about inputs?

Also in the article says "The main idea of TDD is to design the software through tests." do you disagree with that?