Hacker News new | ask | show | jobs
by acjohnson55 403 days ago
Any advantages of this over let-else?
2 comments

Update: No, I don't think so. Just tried Let Else... I like it more than the ex I posted.

That said, much like it took me a while to Grok if let syntax... this will be a struggle. See the other example in this thread where the one suggesting it reversed the syntax. That will take a bit to get right...

I wasn't familiar with let-else...
I just learned about it through this article, myself!