rspec/rules/S107/flex/split-example.adoc
2023-08-10 16:54:47 +02:00

12 lines
250 B
Plaintext

[source,flex]
----
// Each function does a part of what the original setCoordinates function was doing, so confusion risks are lower
void setOrigin(var x, var y, var z) {
// ...
}
void setSize(var width, var height, var depth) {
// ...
}
----