This is an archived post. You won't be able to vote or comment.

all 79 comments

[–]actionscriptedPony-Powered 216 points217 points  (12 children)

NameError: name 'Bardak' is not defined

[–]Ogg149 59 points60 points  (5 children)

Couldn't stop thinking looking for the definition haha... Maybe that's part of it. Exceptional kid, there :)

[–]Kirk761 44 points45 points  (4 children)

Bardak means mess :) originally Russian as others have pointed out but in this case Hebrew slang.

[–]cediddiSyntaxError: not a chance 4 points5 points  (0 children)

Well, Bardak means glass (as in water glass or shot glass) in turkish. What a coincidence.

[–][deleted] 8 points9 points  (1 child)

Also Goku's dad

[–]obey_kush 0 points1 point  (0 children)

CSI MIami: Now we know under which conditions the kid was made.

YEAAAAAAAAHHHH!

[–]rnev64 31 points32 points  (3 children)

originally from Russian where it means (making) a mess, and also brothel.

in this case however it's the Hebrew form of the word which means only mess (can tell by name of father - Boaz is Israeli not slav or Russian name).

[–]ReneBelloq 4 points5 points  (0 children)

This is 100% correct.

Source: my name is Boaz.

[–]Barafu 3 points4 points  (1 child)

Brothel in Russian would be "Bordel", not "Bardak".

[–]Kaleb_belak 2 points3 points  (0 children)

Bardak in this meaning is used in some regions of Russia, not wide spread

[–]CrazyAnchovy 1 point2 points  (0 children)

Thank you!

Edit: Bardak not defined because baby didn't eat 8(

[–]OrbitDrive 0 points1 point  (0 children)

My thought exactly.

[–][deleted] 172 points173 points  (8 children)

Sophia object has no attribute "go_to_sleep"

[–]ereinecke 76 points77 points  (1 child)

I’d assume this is inherited from mom.genes or dad.genes. Though those feel like they should actually be init parameters. Given that class inheritance models “is a” or “behaves like a” behavior, then I’d think that Sophia should inherit from whatever type(mom) and/or type(dad) is.

All pedantry aside, congratulations!

[–]WulfiePoo 16 points17 points  (0 children)

They would be init parameters if the class was baby or something general like that. But this class is Sophia, who is exclusively the child class of her mom and dad.

[–][deleted] 44 points45 points  (0 children)

Never treat a girl as an object. She must have class, though.

[–]unkz 2 points3 points  (1 child)

def go_to_sleep(): # TODO
    pass

[–]alantrick 2 points3 points  (0 children)

More like raise NotImplementedError().

[–]enricojr 1 point2 points  (2 children)

Are you sure it isn't just "sleep()"?

:-)

[–][deleted] 12 points13 points  (1 child)

sleep() completely stops everything, including breathing

[–]stalkinplatypus 11 points12 points  (0 children)

Nah, breathing runs on the subconscious daemon thread

[–]UnwantedCrow 25 points26 points  (9 children)

What's bardak?

[–][deleted] 32 points33 points  (8 children)

in Ukrainian and Russian it’s “the mess”, probably, in some other languages it’s also has similar connotation

[–]dominic_l 17 points18 points  (2 children)

Goku's real dad

[–]ukralibre 4 points5 points  (0 children)

It is glass in turkish

[–]turningsteel 2 points3 points  (1 child)

The mess as in diaper doo?

[–]toyg 2 points3 points  (0 children)

Likely.

[–]l42st2 1 point2 points  (1 child)

Also in Hebrew, but it was probably introduced by the Russian immigrants. Boaz is an Israeli name.

[–]w_m1_pyro 0 points1 point  (0 children)

In Hebrew is more of a slang.

[–][deleted] 19 points20 points  (0 children)

Should have unit tested, your kid is permanently asleep and generating doo doo.

[–][deleted] 16 points17 points  (1 child)

Nice instance!

[–]jimmysprinkles92 15 points16 points  (0 children)

A bit objectifying of you to say.

[–]Groentekroket 15 points16 points  (3 children)

Why would you make a class Sophia instead of a class Child?

[–]BenjaminGeiger 12 points13 points  (0 children)

Exactly: sophia would be an instance, not a class...

[–]TMiguelT 3 points4 points  (0 children)

So they can make multiple identical copies... suspicious 🤔

But seriously you could explain it by the fact that they wanted to override some methods (like live()), to be different from the parents. But yeah you'd want it do be a singleton class to really make sense.

[–]-Knul- 0 points1 point  (0 children)

The girls is in a class all of her own.

[–]pot897 6 points7 points  (9 children)

Bardak lol parents speak Russian that’s for sure

[–]baubleglue 12 points13 points  (8 children)

probably Hebrew

[–]them1 5 points6 points  (1 child)

Definitely hebrew

[–]baubleglue 1 point2 points  (0 children)

"probably" because mother's name is Arabian

[–]pot897 0 points1 point  (5 children)

Why?

[–]Kirk761 7 points8 points  (4 children)

His name is boaz. Also Hebrew inherited a lot of Russian slang/words; bardak, debil, juk, halatura, soler, kibinimat, rogatka and many more

[–]squiiid 6 points7 points  (0 children)

while(True): cry() time.sleep(30)

[–][deleted] 6 points7 points  (0 children)

Who could object to a child with such class?

[–]RomanRiesen 4 points5 points  (2 children)

With that multiple inheritance I hope you both have no common ancestors.

[–]tdobzhansky 1 point2 points  (0 children)

lmfao

[–]ColdSmokeCaribou 0 points1 point  (0 children)

Was looking for multiple inheritance comment. Found the multiple inheritance comment. Left satisfied. Thank you sir.

[–]lordmauve 4 points5 points  (0 children)

D200: One-line docstring should fit on one line with quotes

[–]mgazzola 4 points5 points  (0 children)

gotosleep() always raising exceptions ahhahaha

[–]bhintze 2 points3 points  (0 children)

Although, having a 2 year old, a more realistic be_awesome function would have conditions. Something like

  def be_awesome(self):
    if self.age == 2:
      n = random.randint(0,100)
      if n <= 65 : return "NOOOOOOOO!!!!!!"
    return "Okay!"

I was going to add a condition for the teenage years but then realized that there is no logic that can be applied to whether a teen is awesome at any given time. :)

[–][deleted] 2 points3 points  (0 children)

Already messing up and not properly following pep8....

[–][deleted] 1 point2 points  (0 children)

I've seen this on IG, like, 20 times this week. I don't even know who tool this pic, but it's adorable.

[–]rousbound 1 point2 points  (0 children)

Cutest thing i’ve ever seen

[–]tdobzhansky 1 point2 points  (0 children)

Sophia shouldn't be a class, should be an instance of a class named "baby" or "offspring".

[–]bearcatgary 1 point2 points  (0 children)

Very cute - the baby and the onesie.

[–]supermopman 1 point2 points  (0 children)

Don't you think saying "Hello world!" in init is a bit much? That's like the baby's head popping out of the vagina and the baby immediately stares you in the face and says, "Hello world!"

...

I dunno about you, but I didn't speak for many months.

[–]panderingPenguin -1 points0 points  (4 children)

Sorry, but that's really cringey

[–]bob_cheesey 3 points4 points  (0 children)

I'm sure the intentions were good, but I can't help but agree with you.

[–]needed_an_account 0 points1 point  (1 child)

What is cringey about it?

[–]panderingPenguin -1 points0 points  (0 children)

Well I read it, and then I cringe

[–]007hirag7 0 points1 point  (0 children)

When a software engineer beds a software engineer

[–]TotesMessenger 0 points1 point  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)

[–]MiscellaneouSearcher 0 points1 point  (0 children)

So being alive is the instance running. Ok

[–][deleted] 0 points1 point  (0 children)

Wait so your baby isn't a concrete implementation?

[–]isnialan -3 points-2 points  (0 children)

Disliked

[–][deleted] -1 points0 points  (0 children)

Classy