Good and Bad PHP Code: While this is geared towards PHP, it’s a good high-level discussion about what makes for “good” code in general.
When interviewing a PHP developer candidate for a job at SitePoint, there is one question that I almost always ask, because their answer tells me so much about the kind of programmer they are. Here’s the question: “In your mind, what are the differences between good PHP code and bad PHP code?”
The reason I like this question is because it tests more than just a candidate’s encyclopedic knowledge of PHP’s functions.
Warning: if you ever interview for a job at Blend, you will get this question. And since I’ve just told you that, your answer will now be a test of how closely you read Gadgetopia.