Recent Posts

  • Scale Horizontally vs. Vertically

    Scalability is the process of designing and configuring a system so that it can be expanded and adjusted to meet the requirements when the complexity of a system becomes increases. […]

  • Git Commands Best Practice for Who Just Started Working

    Have you just landed your dream job as a programmer? Congrats! We can have different backgrounds and working on different tech stacks. However, no matter which technologies you use, working […]

  • Building a Web Development PC

    It’s no secret that web developers have to meet certain computer specifications if they want to do their work efficiently. For example, the Digital Hacker’s guide suggests a RAM that’s at least […]

  • Understand 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 concise we can use an anonymous […]

  • A Gentle Guide to Socket in Java

    What is Socket? A socket is an interface to send and receive data in two programs on the network in a bidirectional manner. In other words, a socket represent one […]

  • How to configure Tomcat Server to Run Web Application on IntelliJ IDEA

    In this article, we are going to learn how to configure the Tomcat server to run a simple “Hello World” application on the web browser with JSP and Servlet (i.e […]

  • What is tail recursion?

    In many functional programming languages such as Haskell or Scala, tail recursion is an interesting feature in which a recursive function calls itself as the last action. For example, we […]

  • Different ways to iterate any Map in Java

    1. Using entrySet() The Map.entrySet() returns a collection view Set<Map.Entry<K, V>> of the mappings in this map. To iterate over a map, we can use the getKey() method to get […]

  • Call by Name vs. Call by Value in Scala

    Substitution Model In Scala, expressions are evaluated based on the substitution model, the idea is that all evaluation does is reduce an expression into a single value like what we […]

  • Quicksort algorithm – Lomuto partition scheme

    There are a multifarious number of sorting algorithms have been proposed and being used nowadays. Perhaps you’re already familiar with some sorting algorithms such as Bubble Sort, Selection Sort, or […]

Buy Me a Coffee