Open machty opened 7 years ago
I mean, I like it.
I like it too.
ok so let's add it. who knows how to alias stuff?
I would add an AST transform to rewrite with
to if-let
:
Links:
with
takes a single argument where I would expect if-let
to take multiple...
I don't feel super strongly about this but maybe it'd be nice for this library to also alias
if-let
towith
? Rationale:with
is an unfortunate name whose falsy inverse behavior is unexpected, whereasif-let
speaks more to its semantics and putting it in this addon might be a nice way to collectively nudge folks away fromwith
.