Open Ducasse opened 1 week ago
This rule is I think an example of a rule that we should not check statically, but dynamically... concatenation is only bad of it happens a lot, and that we (in the end) cannot detect statically.
It would be interesting to think about other "rules" of the same direction, e.g. we were discussion usage of private methods. Trivially detectable on an anntoated test run. There are for sure more!
There’s an earlier issue that seems relevant here: issue #2794, titled “String concatenation critique is too strict”.
This way is would make more sense.