Last year I read many great articles on the subject of software development. Here are some that I thought you might like!
Author: Daniel Frąk
Spring Boot, by default, uses Thymeleaf 2 as its template engine. You can, however, make it use the newer version.
In the simplest terms, a factory method is a method which creates objects and lets a class defer instantiation to its subclasses.
It may either be implemented directly in a class (and optionally overriden in its children) or specified in an interface (and implemented by classes which use it).
I once heard a team leader say that there are two types of code: ideal code and code that works in production. It was somehow meant to justify forgoing refactoring because “the code works, don’t touch it!”. My personal opinion is that he should be stripped of his team leading position and given a stern talking to.
The abstract factory pattern provides an interface for creating related objects, while hiding the choice of their concrete classes in implementations of that interface.