Because the new version eliminates redundant code, simplifies logic, and removes unnecessary formatting, it ends up being shorter.