I wanted to learn what I wanted to know, but they wanted me to learn for the exam — Albert Einstein
Today, I spent most of my day in meetings, thinking, and preparing backlog so I couldn’t do much code.
Learning 1: IntelliJ Copy Constructor
Today, I was reviewing a piece of code where we had to create an object with 30 fields. The code had a constructor with 30 fields and then in the calling code we were passing those 30 fields. How error prone and tiring is this? A simple example is shown below.
Continue reading “TIL #2 | IntelliJ Copy Constructor Refactoring”