Hacker News new | ask | show | jobs
by RyanMcGreal 5000 days ago
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.
1 comments

Like this?

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