Method names should resemble the domain.

It’s always best to use business words to describe what a method is doing.

Don’t include words describing the logic in the method’s name. The logic should be hidden within the method implementation.

The method should look like a business person named it. It will be a lot more obvious to everyone what the purpose is.


This is a clean and simple method name. The business person wants the first page of data.

data.selectOrderedRowsbyOrdinalColumn(20, "name")

This looks like gibberish. It may have more functionality, but it’s simply not clear at a glance what is really being requested here or why.

Try make life easier on yourself and on the next guy who has to support the code.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: