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

14 lines
248 B
Plaintext

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