Tag: java

  • Things I’ve learned from Effective Java – Part 1

    In this series, I want to introduce one of the most-read books in Java programming: Effective Java. For the most part, this book focuses on the most fundamental classes and […]

  • Implementing retries with exponential backoff

    Making a call to an external service might fail for a lot of reasons, sometimes it’s due to network failure, sometimes it’s because the external service is too busy, or […]

  • Some notes about TreeSet in Java

    The most frequent data structure that I use in Java is the List. But sometimes if I have to store distinct elements without caring about the ordering, then I would […]

  • Creating callback functions in Java

    If you are familiar with some event-driven languages such as JavaScript, especially the ES6 version or later, you probably have done some work with callback functions all the time. By […]

  • Delegate pattern with Consumer interface in Java

    As a Java programmer, sometimes you run into a situation when you want to take a task of an object and give it to another object, meaning the original object […]

  • Understanding Method References in Java

    Before Java 8, to provide an implementation for an interface, we need either to create a concrete class that implements this interface or, more concisely we can, use an anonymous […]

  • Learn Java from Scratch: Introduction to Java Programming

    Java is a high-level and modern programming language that was designed by Sun Microsystems in 1995 and currently owned by Oracle. Java is a general-purpose, class-based, object-oriented language and designed […]

Every support is much appreciated ❤️

Buy Me a Coffee