bitswired on Nostr: "Move fast. Break Nothing". Strong types are a blessing 🔥. Have you ever spent ...
"Move fast. Break Nothing". Strong types are a blessing 🔥.
Have you ever spent countless hours trying to debug your code, only to find out that the error was a simple typo or misspelling?
😩 I've been there too.
🚀 This weekend, I challenged myself to write a custom headless CMS for my blog using Postgres, tRPC, Prisma, and Vercel NextJS.
With a focus on speed, I coded away without testing anything - just making sure to avoid any TypeScript typing errors. 🤞
And the result?
🎉 Success on the very first try!
With Prisma's strong types, even my Postgres database was easily integrated into the project.
When I hit 'next build & start' to run the web app and backend, everything worked like a charm. 💻💡
This experience shows that enforcing strong types may seem like it takes more time upfront, but it saves you countless hours of debugging in the long run.
🕰️ As the tRPC website wisely states: « Move fast. Break nothing. »
So, fellow developers, let's embrace strong typings and save ourselves the headache of endless debugging.
Trust me, it's worth it. 💯
Published at
2023-03-01 12:40:55Event JSON
{
"id": "264af00b6f2ad2c062b743119ef8b3df61c87d4954bc35e700797df7161cc6f3",
"pubkey": "4000ac284c10f1a22fe15e48033969fc4f9ad29aa85253416e48aa1a337293e2",
"created_at": 1677670855,
"kind": 1,
"tags": [],
"content": "\"Move fast. Break Nothing\". Strong types are a blessing 🔥.\n\n\nHave you ever spent countless hours trying to debug your code, only to find out that the error was a simple typo or misspelling? \n😩 I've been there too.\n\n🚀 This weekend, I challenged myself to write a custom headless CMS for my blog using Postgres, tRPC, Prisma, and Vercel NextJS. \nWith a focus on speed, I coded away without testing anything - just making sure to avoid any TypeScript typing errors. 🤞\n\nAnd the result? \n🎉 Success on the very first try! \nWith Prisma's strong types, even my Postgres database was easily integrated into the project. \nWhen I hit 'next build \u0026 start' to run the web app and backend, everything worked like a charm. 💻💡\n\nThis experience shows that enforcing strong types may seem like it takes more time upfront, but it saves you countless hours of debugging in the long run. \n\n🕰️ As the tRPC website wisely states: « Move fast. Break nothing. »\n\nSo, fellow developers, let's embrace strong typings and save ourselves the headache of endless debugging. \nTrust me, it's worth it. 💯",
"sig": "b83ddb639fdd85e7942b0243f5a86bdf9454cedfb6562d4634090c3ec617796ee8a69089b588d23d7bb919f8dfe4aa77733ec701eb071731c312124c4009e363"
}