"Use the same type" best practice