Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hopefully, whoever defined somefunction did something like this:

  def somefunction(inputParameter):
      '''
      inputParameter: List of seven positive integers
      representing a poker hand
      Returns: A positive integer used to score that hand
      relative to all other possible hands, better hands
      receive higher scores.
      '''


You know they didn't. These are programmers we're talking about :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: