The Good, the Bad and the Ugly
Kevin Yank has a blog post up at SitePoint about the difference between Good and Bad PHP Code.
Yank says that when he interviews developers for jobs he always asks: “In your mind, what are the differences between good PHP code and bad PHP code?” The answer reveals whether the candidate simply knows the fundamental syntax of the language or whether they understand the additional coding principles necessary to wield that syntax effectively. It also reveals the amount of pain the applicant’s code will cause a development team. He goes on to list “structured”, “consistent”, “portable” and “secure” as some of the key traits of good code and gives a concrete example to illustrate his point.
It’s true for PHP, but his points can also be applied to most programming languages.
