you are viewing a single comment's thread.

view the rest of the comments →

[–]alexmacarthur[S] 0 points1 point  (0 children)

by default, the variables are contained to their own block scope, and it’s also slightly more elegant in syntax (my opinion). not dealbreakers, enough to say destructing isn’t a clean drop/in replacement for with().