{ "uuid": [ { "value": "68c7948f-c44c-46e2-878f-432616c7e365" } ], "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:00+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": "Legacy code is anything older than..." } ], "created": [ { "value": "2025-03-22T00:00:00+00:00" } ], "changed": [ { "value": "2025-05-11T09:00:00+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2025\/03\/22\/legacy", "langcode": "en" } ], "body": [ { "value": "\n
How do you define legacy code?<\/p>\n\n
Code that was written by someone else?<\/p>\n\n
Code that doesn't have tests?<\/p>\n\n
Any code that has been released to production?<\/p>\n\n
Code that's more than a day old?<\/p>\n\n
In a talk I recently watched, the speaker suggested that any code written more than thirty minutes ago is legacy code.<\/p>\n\n
Once you've written some code and left it for half an hour, you need to re-read it to remember and re-learn what the code does and decide how you want to implement your next requirement.<\/p>\n\n
This is the same approach for code that was written longer ago or written by someone else.<\/p>\n\n
What do you think?<\/p>\n\n ", "format": "full_html", "processed": "\n
How do you define legacy code?<\/p>\n\n
Code that was written by someone else?<\/p>\n\n
Code that doesn't have tests?<\/p>\n\n
Any code that has been released to production?<\/p>\n\n
Code that's more than a day old?<\/p>\n\n
In a talk I recently watched, the speaker suggested that any code written more than thirty minutes ago is legacy code.<\/p>\n\n
Once you've written some code and left it for half an hour, you need to re-read it to remember and re-learn what the code does and decide how you want to implement your next requirement.<\/p>\n\n
This is the same approach for code that was written longer ago or written by someone else.<\/p>\n\n
What do you think?<\/p>\n\n ", "summary": null } ] }