Java Optional Recipes

• 13 min read • Ali Ben Messaoud

In this tutorial, we’ll walk through the Optional class methods that was introduced in Java 8 and improved with new features in the last versions of Java. About The optional...

Read More

DDD - Strategic Design and Principles

• 4 min read • Ali Ben Messaoud

DDD fundamentals can be divided into two groups: building blocks and strategic design. In this article we will look at the Strategic design and principles such as bounded context, continuous...

Read More

DDD - Building Blocks

• 3 min read • Ali Ben Messaoud

DDD fundamentals can be divided into two groups: building blocks and strategic design. In this article we will look at the building blocks such as ubiquitous language, multilayered architecture, and...

Read More

DDD - The Fundamentals of DDD

• 1 min read • Ali Ben Messaoud

DDD fundamentals can be divided into two groups: building blocks and strategic design. These can be further categorized into various groups, shown as follows: Building blocks: Ubiquitous language: A common...

Read More

Unit Testing Anti-Patterns

• 5 min read • Ali Ben Messaoud

Software development consists of many stages and if bugs are caught in the earlier stages it costs much less to fix them. That is why it’s important to get testing...

Read More

DDD - Know About

• 2 min read • Ali Ben Messaoud

To define DDD, we should first learn by what does it means “domain” in this context? Eric Evans coined the term DDD in Tackling Complexity in the Heart of Software,...

Read More

DDD - Introduction

• 2 min read • Ali Ben Messaoud

Good software design is as much the key to the success of a product as the offered functionalities; for example, Facebook provides a social networking platform and its architecture makes...

Read More

Tell Don’t Ask Principle

• 5 min read • Ali Ben Messaoud

Whenever we create a new application, designing classes is among the first and important tasks because the taken decisions at that phase will and could affect the rest of our...

Read More

The Law of Demeter

• 5 min read • Ali Ben Messaoud

The “Law” of Demeter (LoD) is a design guideline for developing object-oriented software. In its general form, the Law of Demeter is a specific case of loose coupling. Good men...

Read More

The Boy Scout Rule

• 2 min read • Ali Ben Messaoud

The Boy Scout Rule can be summarized as: Leave your code better than you found it. Essentially, it means to leave our code a little better than how we found...

Read More