I definitely get the point. I often have the urge to use destructuring for saving space, but want to kick myself when revisiting the code a month or two later. I like your rules, thanks for sharing.
I definitely agree with the spirit of the article: you can take this too far.
The real benefit of destructuring isn't really brevity, per se, IMO, but easy extensibility. You all of a sudden need two or three properties from the same object at the same level? You just reference the additional properties on the left side without any fuss.
The real benefit of destructuring isn't really brevity, per se, IMO, but easy extensibility. You all of a sudden need two or three properties from the same object at the same level? You just reference the additional properties on the left side without any fuss.