Personally, I don't particularly care for this style where you explicitly call into a main method. I don't think we should be afraid of just scripting in Python especially in samples. However, I really don't care one way or the other so that's not something I would block a sample on or bother to address at any point.