You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling a getter of a Ghost, thus creating such method, the Ghost Perspective ignore that the method is a getter, that is, it does not creates a corresponding variable. Same goes for setters.
Is such behavior desirable?
The text was updated successfully, but these errors were encountered:
Apologies, due to a filter i just noticed this thread.
I'm guessing that there is no correct answer here. I would call a method
getter/setter if it complies with the getName()/setName() structure. Since
the Ghost is meant to be used, later on, for testing, there is no damage in
creating unnecesary members during testing, the user could perfectly erase
them later. I am inclined to believe that there are far more hits than false
positives with this aproach.
When calling a getter of a Ghost, thus creating such method, the Ghost Perspective ignore that the method is a getter, that is, it does not creates a corresponding variable. Same goes for setters.
Is such behavior desirable?
The text was updated successfully, but these errors were encountered: