rspec/rules/S1669/abap/rule.adoc

27 lines
583 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
Using keywords as variable names may yield incomprehensible code, and should be avoided.
== Noncompliant Code Example
----
DATA: wa_struct TYPE struct,
name TYPE string,
dob TYPE string,
aliases TYPE string, " ALIASES is a keyword
----
== Compliant Solution
----
DATA: wa_struct TYPE struct,
name TYPE string,
dob TYPE string,
alt_names TYPE string,
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]