I much prefer that version than the short version. The short version is ugly, does not accept phrase, and terminates immediately.
In case you're curious, here's a screen cap of it.
My goal is to write short, but good code. Number of lines is never a consideration.