"AI is so complex even the developers dont understand it" "looks inside" "if-statement and for-loops" cat stares down at the camera
you are viewing a single comment's thread
view the rest of the comments
[–] 20 points 9 hours ago* (1 child)

Have you ever tried to follow five hundred nested for loop and if statements? Shit is nuts...

  • source
  • hideshow 1 child comment
  • [–] 3 points 3 hours ago

    Oh, just wait till you hit that sweet sweet python "Everything can have an else block"

    if some_shit:
        try: 
            for stuff in thing:
                 if stuff is bad:
                      raise ShitHitTheFanError
                 # Massive block comment
                 do = the_thing()
                 if do is good:
                      break
            else:
                do = the_other_thing()
                if not a_thing:
                    help_me() # May raise NoHelpFoundError
        except ShitHitTheFanError:
             my_life = recover()
             if my_life is bad:
                 for fuck in my_life:
                      try:
                          fix(fuck)
                      except NoHelpFoundError:
                          break
                 else:
                      fuck_this_shit()
        else:
             wat_is_going_on()
    else:
        theres_another_one("?")
    
  • source
  • parent