Tuesday, 19 July 2022

When should a static method be a function?

I am writing a class for an image processing algorithm which has some methods, and notably a few static methods. My IDE keeps telling me to convert static methods to function which leads me to the following question:

When should a static method be turned into a function? When shouldn't it?



from When should a static method be a function?

No comments:

Post a Comment