@robin.berjon.com/numerical-constants-must-die

Numerical Constants Must Die

Loading the tile…

Interfaces regularly require constant identifiers. You have a node and you want to know if it's an element or a comment. You have a message and you want to know if it's email or SMS. That makes sense. What baffles me is why in designing these APIs we insist on naming things with numbers when we cou…

writing

Robin Berjon
@robin.berjon.com

Copy at:// link View record ↗ JSON Publish a new version

Short ID
@robin.berjon.com/numerical-constants-must-die
AT URI
at://did:plc:izttpdp3l6vss5crelt5kcux/ing.dasl.masl/numerical-constants-must-die
Size
760 × 900
Theme colour
#159ED9
Background
#ffffff
Resources
6 files, 626 KB
Published
Indexed
Manifest CID
bafyreigzefg5tlehlcthkpl46iqhdcp5xllw4hs64ta4tknututp2ottxa
Record CID
bafyreiadp2dtdazgvn4i6n3asexuautb4zuvh7yaj25sv6gjtyb34mueg4

Icon

/icon.png

Resources

PathTypeSizeCID
/text/html4.2 KBbafkreierf7hro67voltb6p33xllgbikwpyzazlhxpdhgknwqflh6bg2slm
/berjon.csstext/css20 KBbafkreidppxlkcevt6agqsom2hxox7lmzrkahulo5nlwygh2rvepe66muby
/fonts/Catamaran-VariableFont_wght.ttffont/ttf179 KBbafkreic3m4a5yjoauoi4bkw4hpmjxi7x4yd5uadbiqvhoxxvcl7bccd7ci
/fonts/Mulish-Italic-VariableFont_wght.ttffont/ttf213 KBbafkreibrxh225smnntf3nsph646tiydxl7bnqvsvyumw4ximio4m467wzm
/fonts/Mulish-VariableFont_wght.ttffont/ttf205 KBbafkreicxs5al36g6wr2eqhs5dl4zqzkkl5waajavgax35am37xguyu27te
/icon.pngimage/png6.0 KBbafkreidowo57c5reamwos7jtzfyhh4op3k66k7dimrmt5f2duwil4dfnoy
Raw record
{
  "$type": "ing.dasl.masl",
  "cid": "bafyreigzefg5tlehlcthkpl46iqhdcp5xllw4hs64ta4tknututp2ottxa",
  "createdAt": "2026-12-04T19:13:13.503Z",
  "tile": {
    "background_color": "#ffffff",
    "categories": [
      "writing"
    ],
    "description": "Interfaces regularly require constant identifiers. You have a node and you want to know if it's an element or a comment. You have a message and you want to know if it's email or SMS. That makes sense. What baffles me is why in designing these APIs we insist on naming things with numbers when we cou…",
    "icons": [
      {
        "sizes": "512x512",
        "src": "/icon.png"
      }
    ],
    "name": "Numerical Constants Must Die",
    "resources": {
      "/": {
        "content-type": "text/html",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreierf7hro67voltb6p33xllgbikwpyzazlhxpdhgknwqflh6bg2slm"
          },
          "mimeType": "application/octet-stream",
          "size": 4317
        }
      },
      "/berjon.css": {
        "content-type": "text/css",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreidppxlkcevt6agqsom2hxox7lmzrkahulo5nlwygh2rvepe66muby"
          },
          "mimeType": "application/octet-stream",
          "size": 19985
        }
      },
      "/fonts/Catamaran-VariableFont_wght.ttf": {
        "content-type": "font/ttf",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreic3m4a5yjoauoi4bkw4hpmjxi7x4yd5uadbiqvhoxxvcl7bccd7ci"
          },
          "mimeType": "font/ttf",
          "size": 182868
        }
      },
      "/fonts/Mulish-Italic-VariableFont_wght.ttf": {
        "content-type": "font/ttf",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreibrxh225smnntf3nsph646tiydxl7bnqvsvyumw4ximio4m467wzm"
          },
          "mimeType": "font/ttf",
          "size": 217648
        }
      },
      "/fonts/Mulish-VariableFont_wght.ttf": {
        "content-type": "font/ttf",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreicxs5al36g6wr2eqhs5dl4zqzkkl5waajavgax35am37xguyu27te"
          },
          "mimeType": "font/ttf",
          "size": 210380
        }
      },
      "/icon.png": {
        "content-type": "image/png",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreidowo57c5reamwos7jtzfyhh4op3k66k7dimrmt5f2duwil4dfnoy"
          },
          "mimeType": "image/png",
          "size": 6184
        }
      }
    },
    "sizing": {
      "fit": "height",
      "height": 900,
      "minWidth": 300,
      "width": 760
    },
    "theme_color": "#159ED9"
  }
}