rspec/rules/S134/ruby/rule.adoc

26 lines
588 B
Plaintext

== Why is this an issue?
Nested ``++if++``, ``++for++``, ``++while++``, ``++until++``, ``++case++`` and ``++begin...rescue++`` statements are key ingredients for making what's known as "Spaghetti code".
Such code is hard to read, refactor and therefore maintain.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../parameters.adoc[]
include::../highlighting.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]