This question already has an answer here:
- Why have private static methods? 7 answers
I have a private helper method that uses no instance variables or methods, I feel it would be less confusing if it was static (this way, it's given fewer points it can access).
I am a bit unsure if this question applies to private methods too.
I've also taken a look at this second question but again testing is not going to test private static helper methods directly.
Question: Why shouldn't I make my private helper methods static? Is it the confusion that would maybe lead someone to reuse it in a static context? As far as I see, that should be fine.
Any thoughts and suggestions are appreciated.