Why should Java 8’s Optional not be used in arguments
Oh, those coding styles are to be taken with a bit of salt. (+) Passing an Optional result to another method, without any semantic analysis; leaving that to the method, is quite alright. (-) Using Optional parameters causing conditional logic inside the methods is literally contra-productive. (-) Needing to pack an argument in an Optional, … Read more