A diary is perhaps the most self-indulgent literary device. It is a way for a creative person to express those thoughts and ideas which are not yet fully matured. They maybe kernels or wild whimsies.