You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first instance it would be ideal if the node had a method hierarchies that somehow hides the fact that it is a long chain of method calls. This is a minor refactoring which may or may not provide any value. Please let me know if I should do this.
I think the second case can only be "improved" by blowing this up into multiple lines with a couple of if conditionals. The line is a bit hard to read, but I am not convinced that the longer form is really more helpful here.
Personally I would be totally fine with deactivating the cop, either for those specific lines or even altogether.
Can you please have a look at this? I know that it is bad to
object&.methode&.methode&.methode
, but not how to fix it in our code...The text was updated successfully, but these errors were encountered: