Better HN
topnewbestaskshowjobs
Log inSign up

fizb

-3 karma · joined Jun 13, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

from the tutorial:

  const typeDefs = `
  type Query {
    info: String!
    feed: [Link!]!
  }

  type Link {
    id: ID!
    description: String!
    url: String!
  }
  `
Why is this rubbish in backticks accepted? It is especially stunning to see this in "modern" ES6+ code explaining the newest hype. It's not even mentioned that it sucks, it's presented like proper code.