You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got my first instances of NonLocalReturn and thus learned that return in scala is generally considered harmful. https://tpolecat.github.io/2014/05/09/return.html – I’d say it is worth taking the time to remove all return statements from the scala backend. Most are just if-guards that can easily be changed to if/else
Edit 2024: three instances of return remain, those are a little harder to rewrite
The text was updated successfully, but these errors were encountered:
Got my first instances of
NonLocalReturn
and thus learned that return in scala is generally considered harmful. https://tpolecat.github.io/2014/05/09/return.html – I’d say it is worth taking the time to remove allreturn
statements from the scala backend. Most are just if-guards that can easily be changed to if/elseEdit 2024: three instances of
return
remain, those are a little harder to rewriteThe text was updated successfully, but these errors were encountered: