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

12 lines
250 B
Plaintext
Raw Normal View History

2023-08-10 16:54:47 +02:00
[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) {
// ...
}
----