rspec/rules/S2042/swift/rule.adoc

12 lines
504 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
A class that grows too much tends to aggregate too many responsibilities, and inevitably becomes harder to understand and to maintain. Above a specific threshold, it is strongly advised to refactor the class into smaller ones which focus on well-defined topics.
2021-02-02 15:02:10 +01:00
2020-06-30 12:48:07 +02:00
This rule raises an issue when classes, structs, or enums have more than the allowed number of lines.
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]