<commit_before>---
published: true
title: 'Write code that is easy to delete, not easy to extend'
tags: software
---
> Every line of code written comes at a price: maintenance. To avoid paying for a lot of code, we build reusable software. The problem with code re-use is that it gets in the way of changing your mind later on. - [Programming is terrible]({% post_url 2017-07-04-Programming-is-terrible %}) - [HN](https://news.ycombinator.com/item?id=23914486)
<commit_msg>[easy delete]<commit_after>---
published: true
title: 'Write code that is easy to delete, not easy to extend'
tags: software simplicity
---
> Every line of code written comes at a price: maintenance. To avoid paying for a lot of code, we build reusable software. The problem with code re-use is that it gets in the way of changing your mind later on. - [Programming is terrible]({% post_url 2017-07-04-Programming-is-terrible %}) - [HN](https://news.ycombinator.com/item?id=23914486)

{'fraction_non_alphanumeric': 0.1044932079414838, 'fraction_numerical': 0.03343782654127482, 'mean_word_length': 4.2349726775956285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4603638', 'n_tokens_mistral': 305, 'n_tokens_neox': 272, 'n_words': 128}