Comparing a string using "==" is a bad practice