rspec/rules/S107/vbnet/split-example.adoc

12 lines
296 B
Plaintext
Raw Normal View History

2023-08-10 16:54:47 +02:00
[source,vbnet]
----
' Each function does a part of what the original setCoordinates function was doing, so confusion risks are lower
Sub SetOrigin(x As Integer, y As Integer, z As Integer)
' ...
End Sub
Sub SetSize(width As Integer, height As Integer, depth As Integer)
' ...
End Sub
----