Scala naming convention for options

Viewed 3108

When I return something of type Option, it seems useful to explain in the name of the function name that it is an option, not the thing itself. For example, seqs have reduceOption. Is there a standard naming convention? Things I have seen:

maybeFunctionName

functionNameOption

- neither seems to be all that great.

2 Answers
Related