Comments are footnotes
Computer code in high level languages is written for humans to read. There is no processor out there that has Java or PHP as its native instruction set, or even C for that matter. When you approach programming from this perspective a lot of good practices become common sense.