1.7 introduced new language feature:
(; a, b) = x can now be used to destructure properties
x . This syntax is equivalent to
a = getproperty(x, :a); b = getproperty(x, :b)
From a reader perspective(much more compare to writer perspective in action), I can not appreciate the elegance of this syntax. It’s too not “mathematical”.
Existing argument destructuring for tuple is much elegant as there is an isomorphism between the delcare structure and the data structure.
Why this new syntax don’t have this feature?