adding a metaprogramming question i received in an interview