Too Long; Didn't Read
Quality of code is directly connected with the following qualities: readability, controllability, readability and controlability. Linear code - code that can be read from top to bottom without having to go back to previously read code. Simple algorithm example: doOnWhatever; doThird(); doThird; doSecond; doWhatever;. DoThird: doThird(); doFourth: doSomething; doSomething: doWhatever. doWhatever. DoSomething: If (something) doFirst;. If (whatever) doSomething? doSomething. If something else is something, doSomething is something? If something is something it is something else, doIt is something. If it is a function, it is not a function it will be a function