Requests to re-write code in a different idiom or using different libraries are problematic. Like all Stack Exchange sites, askers are expected to have attempted to solve their own problem before asking, rather than posting "gimme da codez".
Do we believe we could help askers by reminding them under the "To the best of my knowledge, does the code work as intended?" header that if a particular code style is required, the code should (as far as possible) be in that style?
Note that I'm targeting only the very specific "How can I rewrite this as <X>?" requests, as a more general "Would it help to refactor in a different idiom?" is generally agreed to be on-topic.