I\'ve already posted this on codereview.stackexchange where is more appropriate I believe, but didn\'t get any feedback, so I\'m posting it here where there\'s probably greater