Regarding F# self-identifier's as in:
type MyClass2 =
let data = 123
member whateverYouWant.PrintMessage() =
printf "MyClass2 with Data %d" data
The F# class documentation says:
Unlike in other .NET languages, you can name the self identifier however you want; you are not restricted to names such as self, Me, or this.
(The answer to the question What are the benefits of such flexible "self-identifiers" in F#? explains the possible usefulness of this.)
My question is, is there perhaps an unofficial standard of what to name the self-identifier? That is, while there may not be a prescriptive convention, is there a descriptive convention of what are F# programmers doing in the wild? this
? x
? self
?
Update
Well looks like this may get closed, but the answer to the other question is hardly an answer as it's just showing multiple options which I'm already aware of. I'm looking for a consensus. Also, that question was asked in 2009 and there might not have been a consensus at that time, while there may be one now.
Also interesting is the book Expert F# 3.0 authored by Don Syme does not use a consistent self-identifier in the examples. Rather it seems to favor single letter self identifiers especially the letter x
.
this
is probably the most familiar. – Gardiner