4

Which programming system first introduced "destructuring" denoting accessing various parts of an object using some sort of pattern, and binding those parts to variables, like Common Lisp's destructuring-bind, either as an the name of an operator in the actual implementation, or perhaps as a term in its documentation?

Now it's a bit of a buzzword, what with new versions of JavaScript and other languages supporting "destructuring assignment", but I suspect it might have arisen in Lisp development circles, first appearing in some Lisp system.

  • 1
    You might want to try HSM.SE, as this is a quite exotic condition. – Raffzahn Aug 11 at 18:07
  • You're specifically asking about the terminology rather than the mechanism? – another-dave Aug 11 at 20:37
  • Not the term "destructuring" but you might want to look into Scheme, a Lisp vaariant by Gerald Sussman and Guy Steele. – Walter Mitty Aug 11 at 22:14
  • 2
    As @Raffzahn said, such questions seem to be on-topic over on History of Science and Mathematics. As this is more computer-science related than retrocomputing, I'm happy to migrate it there for you if you want. (It's almost certainly perfectly on-topic here too, but those people might be more likely to be able to help.) – wizzwizz4 Aug 11 at 22:53
  • 1
    Does MOVE CORRESPONDING In COBOL count, as a combined destructuring and partial restructuring? ;-) – another-dave Aug 12 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.