Preserve the History of Reddit Post Submissions 1. Overview In this installment of the Reddit App case study, we’re going to start keeping track of the history of submission attempts for a post, and make the statuses more descriptive and easy to understand. 2. Improving The Post Entity First, let’s… Continue Reading reddit-app-maintain-full-history-of-post-operations

Java Optional – orElse() vs orElseGet() 1. Introduction The API of Optional typically has two methods that can cause confusion: orElse() and orElseGet(). In this quick tutorial, we’ll look at the difference between those two and explore when to use each one. 2. Signatures Let’s first start with the basics by looking… Continue Reading java-optional-or-else-vs-or-else-get