For example, I usually name SessionStorage but ProductRepository... It is something mental I couldn't explain to myself. Does anybody understand the meaning of suffixes Repository and Storage? :)
I guess there is no difference in that.
Think about naming for a while and you may figure that it might be important to name things containing equal concepts equally.
So if there's no conceptual difference you should go for either Storage or Repository..
In english...
Repository: a place, building, or receptacle where things are or may be stored.
Storage: the action or method of storing something for future use.
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