While I was searching something specific

  • 5
    Well... what IS the function of a newborn baby?? They don’t do anything
  • 1
    Have you had a baby recently 😅?
  • 2
    so babies are made by functions these days?
  • 3
    @baeovvulf mind you it is 'the function *FOR* new born baby' ... I would expect google to return 'FUCK' as the only answer
  • 1
    Here's your function:

    function baby(Human.male father, Human.female mother){
    DNA babyDNA = DNA.generate(mother, father);
    int birthdateFactor = 0.9 + (Math.random() * 0.2)
    Human.Indeterminate baby = new Baby(60*60*24*30*9*birthdateFactor, babyDNA);
    return baby;

    I dont have second paramter to this function yet, so I haven't tested this code myself yet.
  • 0
    @xzvf oh I see 😂😂
  • 0
    Something like this? Will probably also throw some errors.
  • 2
    Sorry! I of course meant this (for readability as discussed here https://devrant.com/rants/1520626/...)
Add Comment