13 ms·
As someone who has been working on a Scala codebase for the past year and who now forgets to use the `return` keyword in other languages, it still pains me when
by rockostrich 9y ago
As someone who has been working on a Scala codebase for the past year and who now forgets to use the `return` keyword in other languages, it still pains me when I see stuff like that first example in coding interviews. It doesn't help that the solution for my go-to problem has a bunch of places where you can return early...