If you want to compress, why not dropping the braces altogether? ;)

Also `name.length ()` -> `name.empty ()`