Summon Method

“Summon Method”
A method that gets or creates something.

A common question (well, I’ve seen it asked a few times), is what should I call a method the gets or creates something?

Instead of

Foo GetOrCreateFoo()

use:

Foo SummonFoo()

What do you think?

🙏🙏🙏

Since you've made it this far, sharing this article on your favorite social media network would be highly appreciated 💖! For feedback, please ping me on Twitter.

Published