oliverdavies.uk/content/node.36d7f751-faeb-48a4-9fb3-fc8248bb515c.json
2025-05-11 20:02:14 +01:00

100 lines
No EOL
3 KiB
JSON

{
"uuid": [
{
"value": "36d7f751-faeb-48a4-9fb3-fc8248bb515c"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-05-11T09:00:24+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "This should never happen\n"
}
],
"created": [
{
"value": "2023-12-24T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:24+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2023\/12\/24\/this-should-never-happen",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>How often do you see comments like \"This should never happen\" in a software codebase?<\/p>\n\n<p>If that's true, why is it there?<\/p>\n\n<p>If it truly should never happen, the additional code only adds more noise and distracts from the code that is run.<\/p>\n\n<p>You can add a test that checks a method isn't called, but what value does this offer?<\/p>\n\n<p>If it doesn't happen or some code isn't run, remove it and keep it as simple, clean and easy to understand as possible.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>How often do you see comments like \"This should never happen\" in a software codebase?<\/p>\n\n<p>If that's true, why is it there?<\/p>\n\n<p>If it truly should never happen, the additional code only adds more noise and distracts from the code that is run.<\/p>\n\n<p>You can add a test that checks a method isn't called, but what value does this offer?<\/p>\n\n<p>If it doesn't happen or some code isn't run, remove it and keep it as simple, clean and easy to understand as possible.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-05-11T09:00:24+00:00",
"guid": null,
"hash": "1a504b384817d66ba5d480432140f3aa",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}