Full threadahalbert2·Duplicated code. If you want to change that block, you have to change it evrey place it occurs. It should be extracted into a common function.View on HN