Mostly just because that's how the commits I cherry picked did it.  That said, your way creates an extra object (the array) and does an extra method call (`join`) and while I haven't benchmarked it (so this is pure speculation), I suspect it would be slower and create more garbage for the GC to cleanup.