As a first order approximation, companion objects ...
# getting-started
r
As a first order approximation, companion objects are kind of like static scope with state. It's a weird (but useful) concept.