Flat is better than nested.
↑Absurd. Things nested properly are structural. Flat is somewhat attractive, but not always means to do something simpler or more acceptable. There are several popular examples illustrating the evilness: plain text for general data representation (like configurations), and "typeless" programing language (like UNIX-shell) for general programing. They are really inconvenient.
Sparse is better than dense.
↑This is surely ignoring some general requirements. Not operational.
Readability counts.
↑Yes in general, but not in some rare scenes. If you are doing something only yourself, you can afford missing of readability, you think it's no good for that "neat" restriction, then it's okey to just throw it away. And do remember, thing other than readability also counts, can be also serious, or even more serious.