While you are writing code, assume you are writing a novel and your fellow coders is a reader of your novel, so anytime you think you have to put comment that means something wrong, you cant express yourselves through code. A real clean code does not...
Home » Posts filed under java
Clean code Tips1:: Urge to put comments? refrain to do it.
in
cleancodetips,
code smell,
design pattern,
java
- on November 16, 2020
- No comments
Bounded Context in my view
in
DDD,
design pattern java,
design principles in java,
java,
Microservice
- on April 28, 2018
- No comments

In this article, I will share my view about Bounded Context,
What does it mean,?
Why is it required?
The connection between Bounded context and Microservices.
I will try to keep it simple, and this article targeted to that audience who will hear the...
Change Method Call On the Fly:: CallSite
in
java,
java interview questions for experienced
- on March 12, 2018
- No comments

In my previous article, I talked about invokeDynamic, In this article, I will show you the coding how you can leverage the power of invokedynamic.
We all know that to load a class dynamically and call a method at runtime we use Java Reflection, Framework developers are often used...
Java:: What is invokeDynamic
in
java,
java interview,
java interview questions
- on February 19, 2018
- No comments

In my previous article,
I discussed --How JVM determines which methods to call at runtime?Also,
we learned that In bytecode level, java compiler uses 4 special opcodes
for method invoking
invokestatic,invokeinterface,invokevirtual,invokespecial.
Now,
...
How does method dispatch happen in Java?
in
java,
java interview,
java interview questions
- on January 23, 2018
- No comments

Have you ever wondered when you call a method like a list.add("Shamik"), How the actual method invoke in runtime?
If you want to discover the How part then you are in the right place else you can easily skip the article as it is not related...
Oogways on Value Types(Project Valhalla)
in
java
- on January 09, 2018
- No comments

Oogways promised us to give a demonstration on Project Valhalla, which is in roadmap of Oracle, Project Valhalla mainly focus on two features
1. Value types
2. Generic Specialization.
In this Article, I will cover the talk on Value type given...
Techniques for reducing Tight Coupling
in
design pattern,
design pattern in java,
java
- on October 09, 2017
- No comments

“Tight Coupling is Bad” How many times you have heard this word from your seniors. Probably many many times.
But why Coupling is bad what are the implications comes if you do tight coupling?
What is actually a Tight coupling?
How we can fight...