Closed Luisav1 closed 1 year ago
This is a reasonable thought, but I kinda think it is more trouble than it is worth. Much of the worry in regards to "only pass in what you need" is for class constructors, where by passing in a whole model class, you are more likely to use other stuff that further breaks encapsulation and muddy the exact purpose of your class. Here, it seems totally fine to provide a particleAtom to a function for extracting one of its particles.
I recommend closing this issue as a wontfix, but I'm happy to discuss further.
@Luisav1 and I discussed and are in agreement.
From #112.