5 ways to write better code

Forget for a moment about correctness, efficiency, or performance. If your code has 10 nested ifs or nested loops, the computer will be able to process and run it the same way as if it had one or two. No matter how badly written is the code, once it is compiled or interpreted without failure, the computer can run it. However, developers should write code not only for computers to run but also for other developers to understand and continue evolving it. Writing bad code will cause bad …

Read More

CodeSmell

This is a post written in Portuguese, as a free translation of Martin Fowler’s article CodeSmell. Translated on September 10, 2017. Este é um post escrito em Português, como uma tradução livre do artigo CodeSmell de Martin Fowler. Traduzido em 10 de Setembro de 2017.

Read More

Lombok Constructors

In the post Lombok Getters and Setters, we talked about the use of Lombok to provide quick and easy getters and setters. In this post, I will cover another great feature from Lombok, that provides quick and easy constructors. For this post, I will use Lombok v1.16.16.

Read More

Lombok Getters and Setters

If you are a starter developer, this post is for you. Who has never got fed up with all the generic purpose getters and setters we need to write? Even with the functionalities IDEs provide to automate it, we still have that amount of redundant code written in the classes.

Read More