-
Protected: What is a java package for
There is no excerpt because this is a protected post.
-
Bundling (encapsulation)
Bundling as a part of encapsulation is a process of gathering in one place the related things. What this means? Let’s see. Data and methods bundling Data and methods are gathered in place called … class. What a discovery đ Ok, but, what data and which methods should be put/gather into class? The answer is…
-
Positive consequences of good interface design
Let’s back to article of ISP and take this implementation: The usage is clear: OK, so let’s check how this design is resilient to new requirements. We need to transport BigPackages
-
Negative consequences of bad interface design
Let’s back to article of ISP and take a this implementation: Let’s see how the implementation/classes will be used in code: We need to check what type of object is to invoke the method! Crazy. Even more crazy thing is to use polymorphism in that way: In both cases is not a true polymorphism and…
-
ISP principle
Interface Segregation Principle states: “A client should never be forced to implement an interface that it doesnât use, or clients shouldnât be forced to depend on methods they do not use.” It is a very powerful principle. Why? Because it forces a good design. In this post, we see what an ISP is, and in…
-
What interface should be
From wiki (definition + examples): âAn interface in the Java programming language is an abstract type that is used to declare a behavior that classes must implementâ Looks quite normal. Nothing unusual. But let’s look under the hood. The interface is defined sometimes as “is a” relationship – “is a” Predator. I see in projects a lot of/all interfaces called as “is a”/noun…
-
Finding business value using domain classification
To find the business value we can use domain classification proposed by Domain Driven Design. It classifies domains into: core domain makes the company business special it differs from other companies/competitors enables the company to earn (more) money This is the most precious domain in the company, so we should take care of it as…
-
Protected: Positive impact of contextual models on solution
There is no excerpt because this is a protected post.
-
Protected: One word many meanings – context intro
There is no excerpt because this is a protected post.
-
Protected: Model in the context
There is no excerpt because this is a protected post.