{"id":247,"date":"2021-03-24T12:56:45","date_gmt":"2021-03-24T11:56:45","guid":{"rendered":"https:\/\/danilov.es\/?p=247"},"modified":"2025-03-13T11:33:37","modified_gmt":"2025-03-13T10:33:37","slug":"thoughts-after-sunsetting-my-own-code","status":"publish","type":"post","link":"https:\/\/danilov.es\/index.php\/2021\/03\/24\/thoughts-after-sunsetting-my-own-code\/","title":{"rendered":"Thoughts after sunsetting my own code"},"content":{"rendered":"\n<p>Last week I killed my own code. I\u2019ve pulled the plug. I\u2019ve sunsetted it. I was surprised: it really didn\u2019t feel weird at all. Maybe I should have felt something. In the end this was my first project at my current company and the first time I was publishing a GitHub Action. It felt natural, and I felt I was doing the right thing. In the following days I kept questioning myself: why did this happen?&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">I\u2019ve understood that the project might not be successful\u00a0<\/h3>\n\n\n\n<p>The project aimed to solve a problem that could have had multiple other solutions, of which many could have been fixing the culture in the organization or throughout a #nocode or #lowcode implementation. Each one of them had some concerns behind. The chosen way to solve it also had a couple that could have made the project overall unsuccessful. This understanding helped me while building and maintaining this piece of software in two ways: don\u2019t get attached to the solution and understand the energy I should be investing here.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">There was an even better way to build it<\/h3>\n\n\n\n<p>As I was advancing towards the completion of the project and deep-diving on the implementation details, I\u2019ve realized it\u2019s different problems, mainly from an architecture standpoint. There were some improvements to be made, and, overall, more efficient ways to have built it. The balance of delivering what we have vs. improving it leaned towards the first one, to give space for delivering other initiatives. A bit after rolling the solution out, while working on releasing our first bug fix, some of these problems were confirmed. I realized that one day, the solution will need to be replaced.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nothing lasts forever<\/h3>\n\n\n\n<p>On a more philosophical note, most of the things we build as humans are ephemeral. We create things to help us with a particular need, until that need no longer exists, the initial need is extended or we discover a better way to satisfy it. And this happens even more in technology and software. We deprecate or flag as obsolete our creations at a very high pace. Each day passes, it\u2019s one day closer to the moment that the code we\u2019ve written it\u2019s no longer needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Look at it from a different angle<\/h3>\n\n\n\n<p>If you\u2019re working in technology, no matter the position you\u2019re in, it\u2019s important to create healthy habits that can help you and your organization evolve. Being attached to a solution, a particular piece of software or tool, can keep you from continuously improving our organization and yourself as a professional. However, most of us still do it, and it\u2019s normal. We\u2019re human beings and most of us do get attached to things. Nevertheless, creating a mindset around the following facts:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Being humble. Any solution has some weak spots that can, one day, be the reason if it is not needed anymore.<\/li><li>Understanding that what you\u2019re building (in its actual form) will eventually become obsolete.<\/li><li>Challenging the solution yourself throughout the different phases of a project (development, maintenance). Understand why it might fail its purpose.<\/li><li>Deprecating obsolete things you\u2019ve created if you have the occasion.<\/li><li>Learn from this process and take conclusions that will help you extend the life cycle of our next projects.<\/li><\/ul>\n\n\n\n<p>Will help you stay positive about sunsetting your own creations and allow you to grow.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I killed my own code. I\u2019ve pulled the plug. I\u2019ve sunsetted it. I was surprised: it really didn\u2019t feel weird at all. Maybe&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/danilov.es\/index.php\/2021\/03\/24\/thoughts-after-sunsetting-my-own-code\/\">Continue Reading<span class=\"screen-reader-text\">Thoughts after sunsetting my own code<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":248,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[139,120,138,135,137,136,146,140,145,143,142,144,141],"class_list":["post-247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thoughts","tag-archiving","tag-code","tag-decomission","tag-deprecation","tag-legacy","tag-migrate","tag-plug","tag-project","tag-pulling","tag-set","tag-sun","tag-sun-setting","tag-sunsetting","entry"],"_links":{"self":[{"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":1,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":249,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/posts\/247\/revisions\/249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/media\/248"}],"wp:attachment":[{"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danilov.es\/index.php\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}