---
title: "Daniel Martorell (@dmartorell) | Hashnode"
description: "Software Developer. Read the latest articles by Daniel Martorell on Hashnode."
url: "https://hashnode.com/@dmartorell"
---

@dmartorell

# Daniel Martorell

@dmartorell · Illes Balears · Joined August 2020

Software Developer

### [Passing default values to an object parameter](https://dmartorell.hashnode.dev/passing-default-values-to-an-object-parameter?utm_source=hashnode&utm_medium=feed)

Passing default values to function parameters can avoid nasty 'undefined' surprises and give us better control over our code. Open parenthesis, write a variable name, add equals, write the initial value you want, and close parenthesis. Easy peasy. No...

1 min read · [dmartorell.hashnode.dev](https://dmartorell.hashnode.dev/passing-default-values-to-an-object-parameter?utm_source=hashnode&utm_medium=feed)

[Aug 27, 2021](https://hashnode.com/posts/passing-default-values-to-an-object-parameter/6128eec79da1766342ad664c)

### [Memoization](https://dmartorell.hashnode.dev/memoization?utm_source=hashnode&utm_medium=feed)

A performance game-changer

2 min read · [dmartorell.hashnode.dev](https://dmartorell.hashnode.dev/memoization?utm_source=hashnode&utm_medium=feed)

[Jul 5, 2021](https://hashnode.com/posts/memoization/60e34a3f4aacd63048240e5b)
