Coding stadards, `if ($type == 'lang')`