Post a link to your github repository in the appropriate programming subreddit for your language. Make sure that your posting declares that your code solves problem X better than anyone else. Sign off with "and I defy you to find better code in $language anywhere!".
This will result in dozens of helpful strangers posting detailed critiques of your coding style, logic, work flow and parentage. Ignore the invective and look for the ones that post code snippets; if a post with a code snippet says you're doing it wrong, figure out if that is truly a better way of doing things; if so, adopt it.