If you see this as an ugly code, it shows the high standard.
When looking for examples for the collection, I often see very, very ugly code in comparison and I often have to see if I can make a copy without too much effort.
Your examples are always copied in no time.