39
walaboi
7y

self.setAge(21);

// turned 21 today 🍾

Comments
  • 1
    Happy birthday!
  • 2
    happy birthday πŸŽ‚!!!

    now let's do the following =)

    for(x = 0; x < 4; x++)
    if(x==4)
    {
    x=0;
    Sleep(1000*60*60*366);
    }
    else
    Sleep(1000*60*60*365);

    notice this is a joke the code hurts my eyes as well πŸ˜‚
  • 5
    Time to crack open a cold one legally πŸ˜‚πŸ˜‚πŸ˜‚

    Happy birthday!
  • 5
    while(conscious){
    drink("alcohol");
    }

    tomorrow.onWake(){
    drink("gatorade");
    vomit(meals.breakfast);
    work.callOut("I think I caught a bug");
    sleep();
    }
  • 0
    Development with beer is da thing. Happy birthday 🍻
  • 4
    You shouldnt set the age directly. Define your dob and calculate your age from that. Your dob will not change, you age will.

    Happy birthday!
  • 0
    @cyphrack age++; //¯\_(ツ)_/¯
  • 1
    You could've just age++ πŸ˜‰
  • 1
    Error: Undefined variable 'self' on line 1
  • 0
    Wouldn't it be

    this.setAge(21);

    ?
  • 1
    A Java coder I see. πŸ˜€ Anyway... Happy birthday, mate!
  • 1
    @devios1 It seems safer to use property and backing field. But since there are no setters in this language, you have to use a setter method.
  • 3
    Shouldn't comments be above the line of code they explain?

    Happy birthday! 🍻
  • 0
    @theScientist Yea this is one of the laws I fucking hate. At 18 you can vote for anything, serve your country, smoke, rent a hotel (in some states), ect. But wanna have a drink? Woah no! (Everyone has had a drink underage. It's just a thing that happens lol.)
  • 1
    @jhh2450 here you can do anything you wish at the ago of 18 but not allowed to drive before you're 18 as well.
    so basically we're encouraging drinking and driving and doing soft drugs.

    long story short everywhere is f****d up
  • 1
    @maykdev I think I'll take driving at 16 over legally drinking at 18. Can always illegally drink, but illegally driving is harder to pull off lol
  • 0
    I mean you can drive at 17 but you won't be able to drive alone and you need someone that has his or hers license for over 5 years.
  • 2
    Happy birthday :)
  • 1
    @maykdev Yea see at 16 I can drive by myself. And in other states, you can drive at 15 by yourself.

    Transportation is really big, especially in small towns like mine. I forgot to mention that in my original comment lol
Add Comment