He/him.

Linux and FLOSS enthusiast, trying to unplug myself from the net by selfhosting. Enfasis on trying.

  • 0 Posts
  • 219 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle

  • I didn’t need to do this but I did and now I want it in my comment history:

    class Suckable {
        bool unsucked;
    
    public:
        Suckable () {
            unsucked = true;
        }
    
        void Suck() {
            unsucked = false;
        }
    
        void CheckAndSuck() {
            if (unsucked) {
                Suck();
            }
        }
    };
    

    Sorry for making you see c++, it’s the language I’m currently using. This program compiles on my machine and doesn’t use global variables.