3 ms·
This functionality in Erlang is something I miss in most other languages, and I was quite displeased when I discovered Python 3 abandoned tuple destructuring in
by macintux 5y ago
This functionality in Erlang is something I miss in most other languages, and I was quite displeased when I discovered Python 3 abandoned tuple destructuring in function invocations.
- lmilcin 5y agoI don't know Erlang but I also found Clojure's destructuring to be an extremely useful tool. For me it allowed developing useful project idioms that can be very effective in cutting a lot of boilerplate.
- whalesalad 5y agoThe destructuring abilities of Javascript are something I regularly miss in Python, especially when I am hacking on a polyglot project with a JS frontend and a Py backend.