• 2 Posts
  • 18 Comments
Joined 6 months ago
cake
Cake day: November 1st, 2024

help-circle
  • Hi. I’m sorry, I didn’t mean it that way. People have put a lot of effort into developing Lemmy as both a software and a community, and it wasn’t my intention to devalue anyone’s efforts or say that it’s a lost cause. I think people should continue using Lemmy. This was just literally my stream of consciousness. I’m more upset that the original Reddit is gone and I wanted to highlight how Lemmy is not a perfect replacement.







  • I straight up never got a nice answer from StackOverflow on this. Say you have 5 classes, each requiring access to the data members/functions of the others. What’s a nice way to solve this problem? I’ve thought of only two nice shit methods:

    • Pass pointers/shared-pointers etc to each class, but not through the constructor but a setter function
    • Pass lambdas or std::function everywhere. Yuck! Still doesn’t put each object in a valid state in the constructor.