rspec/rules/S1524/description.adoc

2 lines
270 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
Overriding a variable declared in an outer scope can strongly impact the readability, and therefore the maintainability, of a piece of code. Further, it could lead maintainers to introduce bugs because they think they're using one variable but are really using another.