> If the requirement is merely to write a function to pick properties, yes. If the requirement is to do that in a more concise, readable, reliable way, no.
The term "readable" is entirely subjective. As far as am aware there is no standard for "readable" (in any language, coding or not). Even if such criteria for "readable" did exist in some institutional document, no author of code (or anything else) is bound to recognize or adhere to any such subjective and arbitrary criteria. What specific definition of "reliable" is being used, and what are the cases that demonstrates using destructing assignment is not "reliable"? On Sat, Jun 22, 2019 at 6:50 PM Bob Myers <r...@gol.com> wrote: > On Sat, Jun 22, 2019 at 10:59 AM guest271314 <guest271...@gmail.com> > wrote: > >> Does not destructuring assignment provide a means to achieve the >> requirement? >> > > If the requirement is merely to write a function to pick properties, yes. > If the requirement is to do that in a more concise, readable, reliable way, > no. >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss