@LarsHvam Well, factories need to be friends of the classes (with private instantiation level) whose instances they must create. Do you see a problem with this pattern?
π₯· Calling all assassins π₯·
I'm giving away a FREE #PS5 code of Assassin's Creed Shadows: Deluxe Edition! The lucky winner will be randomly selected. To enter, simply:
β€οΈ Like
βΆοΈ Follow
π Retweet
Giveaway ends on March 24 at 5PM ET! πΊοΈ
@JelenaAtLarge@JelenaAtLarge I still don't get the hate π€·π½ββοΈ Yes, i agree that the example does not present a valid use case.
However, what's wrong declaring *all* variables with FINAL by default? How often would you need to change a variable once it is set?