0
Completed

New warning: Getter/Setter names are different from property declaration

Lübbe Onken 10 years ago updated by Roman 10 years ago 5
I suggest another convention "Getter/Setter Name is different from property declaration" ?
The convention would be that the getter/setter name = Get<propertyname>/Set<propertyname>

Example:

TMyObject = class
private
function GetText: string;
public
property Name: string read GetText;
end;
You were sitting there with the cursor hovering over the ok button, weren't you? Less than 5 seconds to change the status :D
+1
Exactly :))
Actually, it has been appeared in my mailbox and then only a couple of clicks are needed.