News for hackers. Stuff that matters.
Re:Show HN: Returnif – the conditional return statement by andynator1000 on Monday July 23, 2018 @05:00PM (#17595952)
The proposed syntax allows for a precondition which can evaluate an expression and return that.

So if you wanted to format the error returned you could do `returnif error : formatError("Error context:", error)`

There are no comments on this comment yet.