{ "uuid": [ { "value": "4e5d1d22-b993-4b38-b2bd-60f328e1ce76" } ], "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:40+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": "Make the change easy, then make the easy change\n" } ], "created": [ { "value": "2023-06-16T00:00:00+00:00" } ], "changed": [ { "value": "2025-05-11T09:00:40+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2023\/06\/16\/make-the-easy-change", "langcode": "en" } ], "body": [ { "value": "\n
Have you worked on some code, whether it's to add or extend functionality or fix a bug and thought, \"This would be much easier if...\"?<\/p>\n\n
A quote by Kent Beck:<\/p>\n\n
\nFor each desired change, make the change easy (warning: this may be hard), then make the easy change<\/p>\n<\/blockquote>\n\n
If you can refactor the code and make it easier to implement your required change, do so.<\/p>\n\n
Any automated tests should be passing before and after, and I'd commit the refactored code to ensure any CI pipelines and checks are still passing.<\/p>\n\n
Then, go ahead and make the required change - add the feature or fix the bug - which should now be easy.<\/p>\n\n ", "format": "full_html", "processed": "\n
Have you worked on some code, whether it's to add or extend functionality or fix a bug and thought, \"This would be much easier if...\"?<\/p>\n\n
A quote by Kent Beck:<\/p>\n\n
\nFor each desired change, make the change easy (warning: this may be hard), then make the easy change<\/p>\n<\/blockquote>\n\n
If you can refactor the code and make it easier to implement your required change, do so.<\/p>\n\n
Any automated tests should be passing before and after, and I'd commit the refactored code to ensure any CI pipelines and checks are still passing.<\/p>\n\n
Then, go ahead and make the required change - add the feature or fix the bug - which should now be easy.<\/p>\n\n ", "summary": null } ] }