element » block
expression assignments should be separate
ternaries should not do more than assign a value
simplify comments
improve layout of class members