function Truth:Boolean; Lars Fosdal Delphi Developers: Off topic November 26, 2015 1 Minute function Truth:Boolean; begin Result := Truth; end; Originally shared by Microsoft Developer Well that sounds simple enough. Share this: Share on Mastodon (Opens in new window) Mastodon Share on Reddit (Opens in new window) Reddit Email a link to a friend (Opens in new window) Email MoreShare on Tumblr Share on WhatsApp (Opens in new window) WhatsApp Share on Telegram (Opens in new window) Telegram Like this:Like Loading... Related Published by Lars Fosdal Software Developer View all posts by Lars Fosdal Published November 26, 2015
My favorite remains the index entry in the Delphi Language manual (though it may have originated in the TP manual): Recursion, see Recursion. Loading... Reply
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… Loading... Reply
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 :). Loading... Reply
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 :).