rspec/rules/S2354/vbnet/rule.adoc

38 lines
675 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
To improve the code readability, the explicit line continuation character, ``++_++``, should not be used. Instead, it is better to break lines after an operator.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
Module Module1
Sub Main()
' Noncompliant
Console.WriteLine("Hello" _
& "world")
End Sub
End Module
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
Module Module1
Sub Main()
Console.WriteLine("Hello" &
"world")
End Sub
End Module
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
endif::env-github,rspecator-view[]