-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
The C-CTOR guideline states:
Constructors are static, inherent methods (C-CCTOR)
...
Constructors are static (no self) inherent methods for the type that they construct...
However, this is a contradiction since a "method" is described in the reference like so:
"Associated functions whose first parameter is named self are called methods..."
The API guidelines should use consistent terminology as the reference. It is proposed that the incorrect "method" terminology be replaced with the correct "associated function" terminology.
In summary, an idiomatic new()
constructor is definitely not called a method.
Enet4
Metadata
Metadata
Assignees
Labels
No labels