Or, is there a more elegant approach than the seco...
# codereview
m
Or, is there a more elegant approach than the second code snippet that I'm missing?