oliverdavies.uk/content/node.97ba47f0-b202-4ac4-974f-6bb9a50abb38.json

91 lines
No EOL
3 KiB
JSON

{
"uuid": [
{
"value": "97ba47f0-b202-4ac4-974f-6bb9a50abb38"
}
],
"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:12+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": "Writing comments first"
}
],
"created": [
{
"value": "2024-06-03T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:12+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/06\/03\/writing-comments-first",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>Something I often do before writing new code is to write out what it needs to do, either in a README file or as code comments.<\/p>\n\n<p>It could be paragraphs of text explaining the problem I'm solving, or a short checklist of what the code needs to do.<\/p>\n\n<p>This clarifies the situation and the approach and allows uncovering any potential questions or issues.<\/p>\n\n<p>It takes time, but I can complete the task quicker as I've made the decisions and answered any questions upfront.<\/p>\n\n<p>I'll either remove the comments as I write the code or, if they still add value, I'll keep them to add more context and information.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>Something I often do before writing new code is to write out what it needs to do, either in a README file or as code comments.<\/p>\n\n<p>It could be paragraphs of text explaining the problem I'm solving, or a short checklist of what the code needs to do.<\/p>\n\n<p>This clarifies the situation and the approach and allows uncovering any potential questions or issues.<\/p>\n\n<p>It takes time, but I can complete the task quicker as I've made the decisions and answered any questions upfront.<\/p>\n\n<p>I'll either remove the comments as I write the code or, if they still add value, I'll keep them to add more context and information.<\/p>\n\n ",
"summary": null
}
]
}