Fair enough!
The resulting function is going into a code example that I’m trying to make
as readable as possible.
I find the readability of this approach less distracting and less motivated
than, say, this.
hierarchy_from_json({
"rig": {
"implementation": {},
"geometry": {},
"skeleton": {},
"interface": {
"controls": {},
"preview": {},
}
}
})
And YAML would require either my tiny example to include it, or for the
user to install it.
Apart from that, and the reason I’m here, was that I was interested in
seeing how others would approach a string processing challenge of this
stature. I expected to find it inspiring and spark ideas with others and
myself.
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOApkzq%3DO3texe22zV0WVByFzGs%3DHmbsjf9FfZ3S-1Kh7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.