<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I have a question for you. How do you think we could use this pattern in the generalised situation:</div></div></blockquote></div><br class=""><div class="">In general ;-) I like things that can be used universally much more than a huge number of special cases.</div><div class="">But here, I'm not sure if it's not an increase of complexity:</div><div class=""><br class=""></div><div class="">I often if statements with several stages of unpacking, and when there is something similar for loops, imho it should act in the same way:</div><div class=""><span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures; color: rgb(186, 45, 162);">for</span><span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures; color: rgb(186, 45, 162);">let</span><span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures;"> array? = test, </span> <span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures;">i </span><span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures; color: rgb(186, 45, 162);">in</span><span class="" style="font-family: Menlo; font-variant-ligatures: no-common-ligatures;"> array {</span></div><div class=""><br class=""></div><div class="">This would preserve the right order and keep the where clause reserved as it is now.</div></body></html>