No problem. Just that shared code and idea is the main reason for this site. No matter who writes the code there is almost always another way to write it. Commenting code is a good practice to get into though as one can leave it sit for years then when you pick it back up and are rusty or someone else has to take over the code it makes it much easier to see what's going on when it is documented.

You don't have to comment the code here that you posted, but in your production code it would be a good idea.

Thanks for posting and sharing