Hacker Newsnew | past | comments | ask | show | jobs | submit | ansis-'s commentslogin

C can be quite elegant:

  long factorial(int n) {
          return n == 0 ? 1 : n * factorial(n - 1);
  }


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

Search: