Skip to content

Comment on If Hemingway wrote JavaScriptparent

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 ...
      }
    }
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.