---
title: "Murilo Boareto Delefrate (@murilobd) | Hashnode"
description: "Software Engineer - Javascrtipt, PHP. Read the latest articles by Murilo Boareto Delefrate on Hashnode."
url: "https://hashnode.com/@murilobd"
---

@murilobd

# Murilo Boareto Delefrate

@murilobd · Lyon, France · Joined September 2020

Software Engineer - Javascrtipt, PHP

[Website](https://murilobd.com/)

## Comments

[The article is well written and it has a very good knowledge about how to refactor a code, but I would do this refactoring in a completely different way. If you have a static list of items (that is short enough as in the example), why don't you simple create a variable that will be the final resolve as you expect? Why using loops and so on while you could have a simple const newOutput = \[ \['Angular', 3, '#d17a29'\], \['React', 1, '#da9554'\], \['Vue', 2, '#e3af7f'\], \['Next', 1, '#edcaa9'\], \['HTML', 2, '#f6e4d4'\], \['Other', 3, '#204e77'\] \];](https://hashnode.com/posts/refactoring-old-code/5fffe819c162d710c9b14a49/comment/6001a48636551629d6a7e0cf)

Comment · Article · Jan 15, 2021 · [Refactoring old code](https://hashnode.com/posts/refactoring-old-code/5fffe819c162d710c9b14a49)

[Yes, it does, right? Hahahah! Let's make this bunch of code a fully workable MVP and see how it goes! Thanks for reading!!](https://hashnode.com/posts/week-meal-plan-2-scraping-websites/5fb583a908ea5d7167d6f0a5/comment/5fb62b7908ea5d7167d6f8a7#reply-5fb7710a08ea5d7167d70f37)

Reply · Article · Nov 20, 2020 · [Week Meal Plan #2 - scraping websites](https://hashnode.com/posts/week-meal-plan-2-scraping-websites/5fb583a908ea5d7167d6f0a5)
