rspec/rules/S2801/rpg/rule.adoc

30 lines
708 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
The use of positional notation can quickly become confusing, especially in a large or complex data structure. To keep the code clean and understandable, use length notation instead.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
D PERSON DS QUALIFIED
* Noncompliant
D FName 1 30
D LName 31 60
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
D PERSON DS QUALIFIED
D FName 30
D LName 30
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]