There may sometimes be good reasons to ask questions like this in an interview. However, speaking as someone who -- in a twenty-plus-year career as a hands-on software developer, as a consultant, and as a manager -- has been on both sides of the interviewing process literally hundreds of times, I contend that it is usually a bad idea. There is simply too much that can go badly and too little that can go well.