30

Interview question:

"What are your three most favorite design patterns?"

Me: "Huh? They're tools in a toolbox. If I want to drive in nails I use a hammer or a nail gun. Do I need to cuddle with them? I don't pick favorites and I don't try to solve everything with just a bunch of patterns. And I've work with a bunch, right now I'm drawing a blank though as this question highly confuses me and would like to do a Google search listing a few names as the only one that's comming to my mind right now are the factory and builder pattern. And no, not necessarily favorites."

Comments
  • 1
    I think the correct answer is: Favourite design pattern? None I don't use any.
  • 3
    Perfect answer, they think one pattern is like a silver bullet that solves any problem. I use multiple patterns for different applications in because how old they can be or new.
  • 2
    Favorite refers to "good at". Physically, if you are good at something, you would be like to do it repeatedly. The reason why the interviewer did not ask directly about what kinda data structures or design patterns you would use more than the others and good at than others is people normally exaggerat their abilities so recruiters tend to ask in some way they thought they could get more real information.
Add Comment