Tag: java
![Use orElseGet instead of orElse in Optional](https://lejdiprifti.com/wp-content/uploads/2023/10/pexels-christina-morillo-1181216-1280x768.jpg)
15. October 2023
/ SpringBoot
Use orElseGet instead of orElse in Optional
In this short article, the main point I want to describe is to stop using orElse and favor more orElseGet when using Optional in…