diff --git a/content/meta/index.json b/content/meta/index.json index c7954ed3b..785a390da 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -6456,5 +6456,12 @@ ], "node.c74de3cf-5362-4d08-935a-a9d0d22fcb94": [ "user.b8966985-d4b2-42a7-a319-2e94ccfbb849" + ], + "node.7f8987ed-6ec1-4d81-a968-ec918f017b4b": [ + "user.b8966985-d4b2-42a7-a319-2e94ccfbb849", + "node.3074e1e9-c691-4f73-a71c-cfe5920f884e" + ], + "path_alias.e019551b-df00-4c4c-a741-bce60ba7580e": [ + "node.7f8987ed-6ec1-4d81-a968-ec918f017b4b" ] } \ No newline at end of file diff --git a/content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json b/content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json new file mode 100644 index 000000000..0cbaf0acf --- /dev/null +++ b/content/node.7f8987ed-6ec1-4d81-a968-ec918f017b4b.json @@ -0,0 +1,97 @@ +{ + "uuid": [ + { + "value": "7f8987ed-6ec1-4d81-a968-ec918f017b4b" + } + ], + "langcode": [ + { + "value": "en" + } + ], + "type": [ + { + "target_id": "daily_email", + "target_type": "node_type", + "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" + } + ], + "revision_timestamp": [ + { + "value": "2025-06-15T08:11: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": "Refactorings should be small" + } + ], + "created": [ + { + "value": "2025-06-13T08:01:48+00:00" + } + ], + "changed": [ + { + "value": "2025-06-15T08:11:24+00:00" + } + ], + "promote": [ + { + "value": false + } + ], + "sticky": [ + { + "value": false + } + ], + "default_langcode": [ + { + "value": true + } + ], + "revision_translation_affected": [ + { + "value": true + } + ], + "path": [ + { + "alias": "\/daily\/2025\/06\/13\/refactorings-should-be-small", + "langcode": "en" + } + ], + "body": [ + { + "value": "When refactoring code, try and make each change as small as possible.\r\n\r\nJust renaming a variable to something easier to understand is a valid refactor.\r\n\r\nSo is extracting a small method or moving logic to another class.\r\n\r\nI recently make [some refactoring commits](https:\/\/code.oliverdavies.uk\/opdavies\/oliverdavies.uk\/commits\/branch\/main\/search?q=Refactor) to my website and, rather than squashing them, I pushed them to show how simple refactoring can be.\r\n\r\nIt's easier to see and review each refactor separately in its own commit instead of in one large squashed commit.\r\n\r\nIt's also easier to keep the code in a working state if the refactors are smaller.\r\n\r\nIf you break the code whilst refactoring, get back to a working state as soon as possible - even if it means resetting back to the last working commit.\r\n\r\nDon't keep making changes - it will be harder to get back to a working state.", + "format": "markdown", + "processed": "
When refactoring code, try and make each change as small as possible.<\/p>\n
Just renaming a variable to something easier to understand is a valid refactor.<\/p>\n
So is extracting a small method or moving logic to another class.<\/p>\n