In this case (comparing a known string with '') there isn't much difference (although it could well be more efficient) — it's just good practice.