
Say Good-Bye to Boilerplate Code with Lombok: Part 1-Installation
Hey! Tea lovers! Before talking about Lombok, what are the things that irritate us Java Developers the most? Well yes, hearing “Java is dying” from a Python developer is irritating but it is the second thing. The first one is the boilerplate code. We write it almost every time. Setters and getters, constructors, toString, and many others for simple POJO classes. Of course, IDE can generate this code for you but again, your simple POJO class then becomes redundant. And the only things that matter in the POJO are the fields, so why not write fields only and let the compiler handles the rest of the things? And that’s where Project Lombok comes into the picture. ...


