3 ms·
Yeah, this is totally fine. It’s rare that you need to use vars in Scala, but still if it’s scoped to the function then you know you can mentally discount it o
by asimpletune 6y ago
Yeah, this is totally fine.
It’s rare that you need to use vars in Scala, but still if it’s scoped to the function then you know you can mentally discount it once the function terminates.