Comment

Comment by noncoml

    function hidestory (ev, el, id) {
      for (var i=0; i < 3; i++) {
That 3 there is the problem with “simple” JS. It’s tightly coupled to the HTML but they live in completely different places.

On a side note this 3 should be at least assigned to a variable with a meaningful name.

parent noncoml 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton