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

Vonnegut. Beautiful except for this omission. Anyone?


Vonnegut would tell you the return value in the first line and then spend the rest of the function showing you how he got there.


Like this?

    function fibs(size) {
      return f();
      function f() {
        ... implementation here ...
      }
    }




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

Search: