Is there are any standards or conventions on naming methods which add something if it not exist into another something.
For example: Store.instance().addItemIfNotExist(item)
IfNotExist is really ugly part. What workaround may be?
closed as primarily opinion-based by durron597, gnat, MichaelT, Kilian Foth, Snowman Aug 3 '15 at 14:37
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.
Some databases use the term
In general, an
Finally, you could consider