DEV Community

Discussion on: Method name to explain context

Collapse
 
forbes profile image
Josh Forbes

I think I like this better. In my example with the long method name it still wasn't giving us the full context. It told us that we were concealing which email addresses actually exist - but why? Your example communicates the entire context by talking about "malicious knowledge" and keeps the resolve method readable. Thanks for the reply!

Collapse
 
marcosvafilho profile image
Marcos Filho

Glad I could help!