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?


← Back to all posts

Based on the theme by Bradley Taunt.
View the Github repo.