2 ms·
"Generally, bang methods mutate/modify the object they are called upon, while their non-bang counterparts return a new object with the desired changes." So to
by Alifatisk 3y ago
"Generally, bang methods mutate/modify the object they are called upon, while their non-bang counterparts return a new object with the desired changes."
So to keep things immutable, stay away from the bang methods.