Explore tweets tagged as #baddeveloper
What do you know? npm update fixed things instead of breaking everything! #javascript #baddeveloper.
0
0
0
An interesting addition and I am sure there are certain "hot loops" that could benefit from non-local early returns, but this could easily be overused. I would be tempted to use it during a fold or scan when I should probably be using recursion instead. #BadDeveloper #Scala3.
➡️ `boundary` and `break` methods were added to the stdlib as safer and more expressive replacements for non-local returns. `break` allows for a type-safe early escape from anywhere inside the block delimited by `boundary`, returning the passed value from the entire block.
0
0
0