Staking is helluva drug <| sep |> maybe it ' s a sobriety test . I could barely read it sober and don ' t think i ' d be able to read more than the first line drunk . <| sep |> How terrible code gets written by perfectly sane peopleActually lack of mental effort is the most important cause behind bad code . I know it ' s easy to blame on managers or pressure , but the majority of bad code isn ' t written under strong pressure but because it ' s easier thing to do . It ' s easier to just write code without thinking about consequences like it ' s with everything in life . It ' s especially easy because we are software engineers and managers are going to rate us by getting things done , not by total development and maintenance costs , so writing clean code is based mostly on programmer ' s motivation . And each of us has a bad day sometimes .