SOLID – Focusing on Encapsulation

Understanding the encapsulation is easy: your objects and methods must hide the implementation. You have to look at the methods name and understand "what it does" but never "how it does". Rules, variables or instances which are necessary to do what is being done must to be hidden in a method; It helps to reuse … Continue lendo SOLID – Focusing on Encapsulation

SOLID is not About How to Make your Code Beautiful!

SOLID was created because engineers were concerned about code quality and they focused on abstraction, cohesion and encapsulation to reach the quality. But it's not merely about how make code beautiful, actually, they create it because maintenance it the biggest fase of software development and modify a code with a bad design can break it … Continue lendo SOLID is not About How to Make your Code Beautiful!

Princípio do Aberto Fechado

Todo software sofre evolução. É difícil pensar em um software que seja feito e nunca receba algum tipo de manutenção. Então, estamos sempre pensando em adicionar uma nova funcionalidade em nosso software e, sendo assim, pensamos logo em modificarmos o código para acrescentar o que é necessário, mas evitar modificações é uma boa prática. Quanto … Continue lendo Princípio do Aberto Fechado

Orientação a Objetos : Prazos e Reuso

Estou lendo um novo livro e me chamou a atenção que em suas primeiras páginas há um ataque direto a programação orientada a objetos, com intuito de valorizar a programação funcional. O livro se chama "Programação Funcional para Desenvolvedores Java" do autor Dean Wampler e acima está uma imagem de sua capa. Nesse post vou … Continue lendo Orientação a Objetos : Prazos e Reuso