Requesting code sample from potential employer?
mahmud: You do that as a contractor, when you're asked to give a fixed quote for a maintenance job.For full time positions, it's reasonable to inquire about the engineering practices of the shop, code guidelines and similar, what freedoms you have to make spot decisions, etc. But asking for actual code is just silly. It does nothing but paint you as a picky cry-baby who couldn't work with others, or cajole them into working with him (IOW, you lack both a cooperative spirit, and leadership.)