Saturday, December 8, 2018

Project Lombok : Boilerplate code reducer

Project Lombok, boilerplate code remover and space saver by generating code in ".class" file instead of generating it in the "source code" file. In this article, I will try to explain how Lombok is so popular and its usage with step by step example.

Introduction :

Project Lombok is java library/tool which is used to minimize boilerplate code and save developers time. No doubt, java is a great language but is criticized by the community for one reason that is verbosity. 

Lombok generates code like getters, setters, toString, and IDE does the same thing for us but IDE generates it in our source code wile Lombok generate it in ".class" file directly.