News for hackers. Stuff that matters.
Re:Functional calisthenics by lederhosen on Thursday October 19, 2017 @05:17PM (#15511626)
A static method can of course mutate an object of the same class (give the object as an argument (direct or indirect) or use a static variable of the class)

I can not see how they could be used to help escape analysis more than that you have one less reference (this).

Re:Functional calisthenics by michaelg7x on Friday October 20, 2017 @02:52AM (#15513958)
Yes, of course that's possible. I was trying to point out their usefulness to the programmer as well as potentially to the runtime/JIT. Next time I'll list the obvious exceptions!