Chapter 3 - Names That Can't Be Misconstructed
Actively scrutinise your names by asking yourself, “What other meanings could someone interpret from this name?”
Example: Filter() Filter is an ambiguous word, it can either mean “to pick out”, or “to remove”. select() is better in the former case and exclude() in the latter.
Example: Clip(text, length) Clip() clips the contents of the paragraph. But its unclear whether it:
removes length from the end of the paragraph truncates to a maximum length.