by yekuta, 2020-05-11T13:20:48.400Z
Creating a singleton class or static class doesn't matter, it is not a good practice. However, in practice, it can be unavoidable at some points. So, which one we should prefer? While the article title already answers this question, I will explain the details of this decision in this article.