gravitas_deficiency@sh.itjust.works 1 week ago
Well you see, it’s called “method acting” because it’s like calling a stateless method in Java (other languages call this a “function”) - the context is maintained for as long as the method is running, and then the scope and context is dropped once the method finishes its execution. Pretty straightforward when you think about it that way.
# /s, very obviously
myster0n@feddit.nl 1 week ago
Ah, but it only gets garbage collected once the references to the class are lost. So, if you want to keep your abilities, stay classy!