top | item 11839954

(no title)

strajk | 9 years ago

I prefer importing whole modules too. One of the benefit is much easier code reviews:

Imagine this diff in the middle of a file (in Javascript)

  if (includes(users, userId)) {
    open(load(userId))
  }

vs

  if (_.includes(users, userId)) {
    Modal.open(UserApi.load(userId))
  }

discuss

order

No comments yet.