by coding123 · 3y ago · 0 comments
Which probably explains the person saying "I hate it".
Destructuring for other kind of objects are planned with user-defined destructors. But it does have plenty prior art, e.g. in haskell you can deconstruct lists arbitrarily like _:secondElem:rest would bind secondElem logically.