I think this is more of an underutilized features rather than an uncommon one, but I really like Extension Methods. They allow you to "attach" a method to a class that you otherwise can't or don't want to modify.
For example, rather than:
Foo(FrameworkClass)
You can write:
FrameworkClass.Foo
In Xojo you'd do this with the Extends keyword in the global method definition:
Public Sub Foo(Extends FrameworkClass As c)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think this is more of an underutilized features rather than an uncommon one, but I really like Extension Methods. They allow you to "attach" a method to a class that you otherwise can't or don't want to modify.
For example, rather than:
You can write:
In Xojo you'd do this with the Extends keyword in the global method definition: