Matching functions based on similar problem-solving steps and logic flow, independent of variable names or domain.