The way you perceive your code will bropaply lead to more casual way rather logical. There's unnecessary code that total makes no sense but even letting them be won't cause any trouble.
Think lazily, it will make you find a shorter way to solve ya problems.