<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j" -->

---
title: The Hidden Dangers of Refactoring [Comic] | daily.dev
description: Refactoring software can be tedious but can often be faster than a total rewrite if done carefully and with proper testing. The old code may be ugly but it...
canonical: https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Hidden Dangers of Refactoring [Comic] | daily.dev
og:description: Refactoring software can be tedious but can often be faster than a total rewrite if done carefully and with proper testing. The old code may be ugly but it...
og:url: https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j
og:image: https://api.daily.dev/og/posts/XVs2iM16J.png
og:image:alt: The Hidden Dangers of Refactoring [Comic]
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Hidden Dangers of Refactoring [Comic]

**[Community Picks](https://daily.dev/sources/community)** · 2 min read · 321 upvotes · 18 comments

## Summary

Refactoring software can be tedious but can often be faster than a total rewrite if done carefully and with proper testing. The old code may be ugly but it could be holding back ancient bugs. Toggl is a time tracking app that helps users see where their working hours are spent.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://toggl.com/blog/hidden-dangers-refactoring>

## Community discussion

Top comments from developers on daily.dev.

**@orcdev** · 18 upvotes

> You gotta love those ancient bugs from hell :D

**@yannou** · 13 upvotes

> Nobody expects the spanish depreciation !

**@annoyingscruff** · 10 upvotes

> Bored devs decide to rewrite everything from scratch 😂

**@jaguar000212** · 9 upvotes

> I am that bored dev 😂

**@krisbor3** · 5 upvotes

> Love the post and the visuals

---

Tags: [#productivity](https://daily.dev/tags/productivity)

[View this post on daily.dev](https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Hidden Dangers of Refactoring [Comic]","url":"https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j"},"datePublished":"2024-06-10T10:11:02.393Z","dateModified":"2024-08-23T14:07:03.033Z","description":"Refactoring software can be tedious but can often be faster than a total rewrite if done carefully and with proper testing. The old code may be ugly but it...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6684d44e62a780fbe6c4b48a5c0b4e54?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6684d44e62a780fbe6c4b48a5c0b4e54?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":18,"discussionUrl":"https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":321},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":18}],"keywords":"productivity","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"The Hidden Dangers of Refactoring [Comic]"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/the-hidden-dangers-of-refactoring-comic--xvs2im16j","comment":[{"@type":"Comment","text":"You gotta love those ancient bugs from hell :D","datePublished":"2024-06-10T12:10:03.320Z","url":"https://daily.dev/posts/XVs2iM16J#c-PLeB1uGeC","author":{"@type":"Person","name":"OrcDev","url":"https://daily.dev/orcdev","image":"https://avatars.githubusercontent.com/u/7549148?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":18}},{"@type":"Comment","text":"Nobody expects the spanish depreciation !","datePublished":"2024-06-13T15:20:39.893Z","url":"https://daily.dev/posts/XVs2iM16J#c-99UvpnzKw","author":{"@type":"Person","name":"Yann","url":"https://daily.dev/yannou","image":"https://media.daily.dev/image/upload/s--GrwU8Unt--/f_auto,q_auto/v1/avatars/avatar_bQt2gRUuXCLZtjZpaBakM"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":13}},{"@type":"Comment","text":"Bored devs decide to rewrite everything from scratch 😂","datePublished":"2024-06-14T15:10:32.684Z","url":"https://daily.dev/posts/XVs2iM16J#c-Dk7tBPIT9","author":{"@type":"Person","name":"Pappii","url":"https://daily.dev/annoyingscruff","image":"https://media.daily.dev/image/upload/s--YeqEw88g--/f_auto/v1717769455/avatars/avatar_a6AdlRrNyrlmOqUemHfik"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":10}},{"@type":"Comment","text":"I am that bored dev 😂","datePublished":"2024-06-15T07:09:19.149Z","url":"https://daily.dev/posts/XVs2iM16J#c-85XVmptnF","author":{"@type":"Person","name":"Shryansh Parashar","url":"https://daily.dev/jaguar000212","image":"https://lh3.googleusercontent.com/a/ACg8ocIfnbypHRd9zduzQEqPrb9-PQRCitqxY_fMz2PwtCkwPi-gFwU=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9}},{"@type":"Comment","text":"Love the post and the visuals","datePublished":"2024-06-12T18:42:34.085Z","url":"https://daily.dev/posts/XVs2iM16J#c-4KUJhmyDK","author":{"@type":"Person","name":"Kristiyan Borisov","url":"https://daily.dev/krisbor3","image":"https://lh3.googleusercontent.com/a/ACg8ocKGvsEfQed-c6CkF9FQxdUJ4BJhluWSoh-BbQFMsnyNSbi7NkOU=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5}}]}
```

