Clean coding tips for Lambda and Streams in Java

Any fool can write code that a computer can understand. Good programmers write code that humans can understand. – Martin Fowler The intent of this blog post is to make sure that we are writing code which is readable, understandable, maintainable. A readable code helps its maintainer and results in lesser issues and bugs over … Continue reading Clean coding tips for Lambda and Streams in Java

Bean Validations in Micronaut

One of the most important aspects of any application code is to ensure that we are having correct data before it can be processed or shared with any other system. This ensures that we are working with valid data and avoid any issues which can result due to data inconsistencies. Problem at hand We spend … Continue reading Bean Validations in Micronaut

Practical Guide on Unit Tests and Integration Tests

In programming whenever we are building any system we should always back it with proper testing. The intention behind these tests should be to cover what ever we have written. It helps in catching regression issues when we are working on different parts of the application. These tests vary in their scope and can have … Continue reading Practical Guide on Unit Tests and Integration Tests

Garbage Collection In Java

Garbage collection is a way of collecting and discarding stale objects in JVM and releasing the memory so that it can be reused to store live objects. All Garbage collection implementations has mainly three passes MARK: Garbage collector marks the stale objects SWEEP: It then reclaims the memory allocated to the objects marked in the … Continue reading Garbage Collection In Java