oliverdavies.uk/content/node.0be950c9-3eaf-4ac1-9833-8b3f3fde5a0f.json
2025-05-30 02:34:52 +01:00

100 lines
No EOL
3.2 KiB
JSON

{
"uuid": [
{
"value": "0be950c9-3eaf-4ac1-9833-8b3f3fde5a0f"
}
],
"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:06+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": "Don't add blank lines"
}
],
"created": [
{
"value": "2024-09-26T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:06+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/09\/26\/dont-add-blank-lines",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>I recently saw a social media post that said something like \"Don't add blank lines within functions. They take up space and don't add anything\".<\/p>\n\n<p>I may have misremembered the exact wording, but that was the gist of it.<\/p>\n\n<p>I like to add blank lines within my functions to create and add separation between logical blocks of code.<\/p>\n\n<p>Whilst this doesn't add anything for a computer parsing and serving the code, or a CI pipeline performing checks, it makes the code easier for people to read and understand which, it my opinion, adds its own value - even if the functionality is the same.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>I recently saw a social media post that said something like \"Don't add blank lines within functions. They take up space and don't add anything\".<\/p>\n\n<p>I may have misremembered the exact wording, but that was the gist of it.<\/p>\n\n<p>I like to add blank lines within my functions to create and add separation between logical blocks of code.<\/p>\n\n<p>Whilst this doesn't add anything for a computer parsing and serving the code, or a CI pipeline performing checks, it makes the code easier for people to read and understand which, it my opinion, adds its own value - even if the functionality is the same.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "1970-01-01T00:32:50+00:00",
"guid": null,
"hash": "d138c01e7e0e6b18b39148606ce5111a",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}