rspec/rules/S1142/description.adoc
2020-06-30 17:16:12 +02:00

2 lines
250 B
Plaintext

Having too many return statements in a function increases the function's essential complexity because the flow of execution is broken each time a return statement is encountered. This makes it harder to read and understand the logic of the function.