That certainly seems more of a Programmers question. Stack Overflow is more for practical programming problems, that seems more of a hypothetical "methods and practices" kind of question.
The Help Centre page How do I ask a good question? clearly states:
Have you thoroughly searched for an answer before asking your question? Sharing your research helps everyone. Tell us what you found and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and above all, it helps you get a more specific and relevant answer!
Your question, although interesting, doesn't show any research or effort.
Do some research, show your efforts and explain as well as you can what you have found and why that didn't answer your question, giving as much detail as possible.