Hacker News new | ask | show | jobs
by smusamashah 234 days ago
How does it fit with Tell Don't Ask https://martinfowler.com/bliki/TellDontAsk.html

Or is it that the example in the article is a bit poor?

1 comments

From your linked article:

> But personally, I don't use tell-dont-ask. I do look to co-locate data and behavior, which often leads to similar results. One thing I find troubling about tell-dont-ask is that I've seen it encourage people to become GetterEradicators, seeking to get rid of all query methods.