Closed sairam4123 closed 3 years ago
After reading the arguments presented on the discord server, I agree that signals are the more common concept in Godot at the moment. For version 4.0, a new Object called Callable
will enable developers to pass functions as objects. I don't know how this will affect the use of signals. But I assume that Godot 4.0 will break this module anyway so that we can decide this later for the 4.0 version of this module.
As for the Godot 3.0 version, we can change all FuncRefs to signals.
For naming:
I would suggest either FunctionName_callback
or FunctionName_signal
.
I feel like Signals has lots of advantages over function references.
Advantages:
yield
function.Disadvantages:
I don't feel any advantages and disadvantages though. Maybe we could discuss further on it.
Thank you.