I hang out in the [Haskell][1] tag a lot and there are frequently questions from people learning functional programming for the first time.  It is usually pretty obvious who they are, but I like helping people learn my favorite language.  Frequently someone will ask how to do something in the way one would solve the problem in an imperative language.  Technically, it can be done using advanced language features, but it is probably better to approach the entire problem in a different way.

In these cases, is it better to answer the question asked, or to suggest how to solve the problem better given in a functional language?  (or perhaps both?)


  [1]: https://stackoverflow.com/questions/tagged/haskell