When I have this sort of question, I like to use https://codereview.stackexchange.com/ . It's like StackOverflow but for code review...with the good and bad that being like StackOverflow implies. Basically, if the code works, it's likely to appropriate.
Good luck.