rspec/rules/S1646/rule.adoc

20 lines
287 B
Plaintext
Raw Normal View History

Although Variants are convenient, they are inefficient because they must be converted to the appropriate type before operations are performed on them.
== Noncompliant Code Example
----
Dim I
Dim A as Variant
----
== Compliant Solution
----
Dim I as Integer
Dim A as String
----