News for hackers. Stuff that matters.
Re:Wow, the Cuil buzz died quickly. In code... by dmpayton on Wednesday August 13, 2008 @01:25PM (#275174)
This is my preferred method for Python (faux-)switches:

  cuil_buzz = {
      1: 'All the rage!',
      2: 'Worst product e-v-e-r.',
      3: ' ... '
  }.get(day, None)

There are no comments on this comment yet.