Skip to content
public-library›Rules›Code design›Express operations as meaningful steps

Express operations as meaningful steps

Express an operation as a sequence of meaningful steps at a consistent level of abstraction. Put detailed parsing, validation, and normalization behind named helpers when their contracts let readers understand the caller without opening the helpers.

In the full rule