
function Truth:Boolean;
begin
Result := Truth;
end;
Originally shared by Microsoft Developer
Well that sounds simple enough.
I rant, therefore I am.
function Truth:Boolean;
begin
Result := Truth;
end;
Originally shared by Microsoft Developer
Well that sounds simple enough.
My favorite remains the index entry in the Delphi Language manual (though it may have originated in the TP manual): Recursion, see Recursion.
/sub
Bill Meyer Check out https://www.google.de/search?q=recursion
David Millington did you mean “recursion”?
Thomas Mueller Did you mean “recursion”?
I should reshare this post again… 😉
Btw, I wish the compiler would warn about that (unconditional recursion).
Who hasn’t referenced a property in a getter, by mistake – instead of the field…
Hallvard Vassbotn I’m pretty sure FixInsight warns about that.
/sub
David Millington I know it does. Started testing FI now. Quite useful, although it does have some room for improvements – sent examples of false positives to Roman Yankovsky :).