Use of self
in _init()
to reference variables in classes is apparently bad.
#4
Labels
question
Further information is requested
Someone said on the Godot discord channel that using
self
just to reference class variables isn't good practice, as it literally uses that reference to access the variables, as opposed to just accessing the variables it can already access.or in other words, it goes:
The text was updated successfully, but these errors were encountered: