Immutable Objects An immutable object is a read-only object (you cannot change it’s properties). It’s easy to test and automatically thread-safe. Since it’s properties cannot be changed. The object will never have an invalid state. Follow this strategy to make a class immutable: Use a constructor to set ALL properties of the object (it’s immutable, […]
Intro to singletons When applying the singleton pattern we are aiming to create only one instance of a class in memory of the application. Singleton pattern makes sure that: only one instance of a class is in the application there is one point of access to this object within the application Singleton: Singletons are obtained as […]
Can you stay with me till the end of the post? 🙂 Did you know that: The return type of an overridden method should be the same or more restrictive aka covariant return types abstract methods are not allowed in a class that is not abstract all methods in an interface are public the interface itself […]
I updated the layout of the quiz app to be a little less 90’s. Find it here. (Username: Nick, password: Nack)
While I was studying for my java SE 8 Programmer II exam, it popped into my mind: “Let me make a small app to practice with some questions” And so I did! If you have idea’s for features to add, throw them in the comments! Check out the app: here Explain! Randomly you will […]
In General It was a great experience going to Barcelona for the Spring IO conference. I really tried to get the most out of it. I feel like that worked out cause I learned a lot. Google Cloud What I will remember best is the workshop on Google Cloud by Ray Tsang. – workshop: bit.ly/spring-gcp-lab […]
On my way to Barcelona to absorb some more Spring knowledge. Exciting!!
A friend tipped me off about Google Code Jam. He told me he had been participating for years and proposed to practice together. I knew I wouldn’t be able to participate in 2018 since I was moving that particular weekend. But the idea was fun. So anyway, we got a bunch of friends together on […]