You must log in or register to comment.
As a Jr Developer, I found this very helpful. Thanks.
You might want to think about it a bit more before putting it to work. The comment with the streams example is far, far better.
Yeah, honestly you should stick to if/else until you’re really sure you want to do something more complex.