{ "uuid": [ { "value": "cf648369-514a-4c9e-a9d4-3ae643cac914" } ], "langcode": [ { "value": "en" } ], "type": [ { "target_id": "daily_email", "target_type": "node_type", "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" } ], "revision_timestamp": [ { "value": "2025-04-21T01:21:19+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": "Having less code than you started with" } ], "created": [ { "value": "2025-02-07T00:00:00+00:00" } ], "changed": [ { "value": "2025-04-21T01:21:19+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2025\/02\/07\/less", "langcode": "en" } ], "body": [ { "value": "\n
When running commands like When adding new features, it's likely you'll be adding code.<\/p>\n\n If you're refactoring code, you may have less code than before.<\/p>\n\n I like commits like this.<\/p>\n\n It's not true that having fewer lines of code means the code is better, but having less code makes it easier to maintain and more secure.<\/p>\n\n You don't need to upgrade and maintain code that you aren't using, so why not remove it?<\/p>\n\n Why have old TODO comments, If they're not used, they can be removed.<\/p>\n\n I recently read a post that suggested there were 5 to 10 bugs in each 1,000 lines of production code as a general rule, so the less code there is, the fewer places there are for bugs to hide.<\/p>\n\n In general, for production code, less is more.<\/p>\n\n ",
"format": "full_html",
"processed": "\n When running commands like When adding new features, it's likely you'll be adding code.<\/p>\n\n If you're refactoring code, you may have less code than before.<\/p>\n\n I like commits like this.<\/p>\n\n It's not true that having fewer lines of code means the code is better, but having less code makes it easier to maintain and more secure.<\/p>\n\n You don't need to upgrade and maintain code that you aren't using, so why not remove it?<\/p>\n\n Why have old TODO comments, If they're not used, they can be removed.<\/p>\n\n I recently read a post that suggested there were 5 to 10 bugs in each 1,000 lines of production code as a general rule, so the less code there is, the fewer places there are for bugs to hide.<\/p>\n\n In general, for production code, less is more.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-04-21T01:21:19+00:00",
"guid": null,
"hash": "4050be034c1d59312fb930c3290468db",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}git log<\/code> or viewing pull requests, you can see the number of lines that have been added, edited or removed.<\/p>\n\n
dd()<\/code>,
var_dump()<\/code> or
console.log()<\/code> functions in the code?<\/p>\n\n
git log<\/code> or viewing pull requests, you can see the number of lines that have been added, edited or removed.<\/p>\n\n
dd()<\/code>,
var_dump()<\/code> or
console.log()<\/code> functions in the code?<\/p>\n\n