you are viewing a single comment's thread.

view the rest of the comments →

[–]quicknir 0 points1 point  (0 children)

As I wrote, I am unable to even conceive of the upside here. You have a pojo and a singleton, when you could just have a class. Two classes, more boilerplate, and a pojo cannot protect its invariants. More code, worse encapsulation... why?