{
  "$type": "site.standard.document",
  "canonicalUrl": "https://tkdodo.eu/blog/no-love-for-boolean-parameters",
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreifiwukzw2wuqlzib6fq6sd7gfpid3xfq6jarruvknlrilqc6o5kq4"
    },
    "mimeType": "image/png",
    "size": 496888
  },
  "description": "Innocent looking boolean parameters, or flags, are often the reason for hard to maintain legacy code. Resist the urge of adding them!",
  "path": "/blog/no-love-for-boolean-parameters",
  "publishedAt": "2021-02-28T00:00:00.000Z",
  "site": "at://did:plc:3nqrhu5mthmias3zc4a2ovzj/site.standard.publication/3mmyb25hudm2r",
  "tags": [
    "JavaScript",
    "TypeScript",
    "ReactJs"
  ],
  "title": "No love for boolean parameters"
}