Hacker News new | ask | show | jobs
by eevilspock 5000 days ago
Vonnegut. Beautiful except for this omission. Anyone?
1 comments

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 ...
      }
    }