Having written a small article on BDD, I got questions from people asking whether there are any cases of large-scale use of BDD (and specifically NBehave).
So my question goes to the community: do you have a project that used BDD successfully? If so, what benefits did you get, and what could have been better? Would you do BDD again? Would you recommend it to other people?
Without treatment, BDD can lead to a great deal of pain and misery, but the disruptive thought patterns that come with this disorder don't have to persist. With therapy, people can learn to look past a perceived flaw, and they can start to focus on the beauty that's within them and around them.
There are a number of different SSRIs, but fluoxetine is most commonly used to treat BDD. It may take up to 12 weeks for SSRIs to have an effect on your BDD symptoms. If they work for you, you'll probably be asked to keep taking them for several months to improve your symptoms further and stop them coming back.
Multiple studies indicate that body dysmorphic disorder impacts between 7% and 2.3% of the general population. Among individuals who are being treated in inpatient psychiatric hospitals, the rate of body dysmorphic disorder is estimated to be between 13% and 16%.
BDD tends to get worse with age. Plastic surgery to correct a body flaw rarely helps. If you have a child or teenager who seems overly worried about his or her appearance and needs constant reassurance, talk with your healthcare provider.
We've used somewhat of BDD at the code level in different scenarios (open source and ND projects).
Telling the view in MVC scenario, what kind of input to accept from user (DDD and Rule driven UI Validation in .NET)
result = view.GetData(
CustomerIs.Valid,
CustomerIs.From(AddressIs.Valid, AddressIs.In(Country.Russia)));
Telling the service layer, about the exception handling behavior (ActionPolicy is injected into the decorators):
var policy = ActionPolicy
.Handle<WebException>()
.Retry(3);
Using these approaches has immensely reduced code duplication, made the codebase more stable and flexible. Additionally, it made everything more simple, due to the logical encapsulation of complex details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With