HEART IS OPEN

HEART IS OPEN

"If you're ready, heart is open, 
I'll be waiting, come and find me. 

If you're searching, for forever,
I'll be waiting, come and find me."
 
- Find Me, Sigma ft. Birdy



My heart is open. My heart is open. 

My heart is open. I am so ready. I am so ready to be on this journey. I am so ready and willing to be on this journey.

Thank you. I am so grateful. I am so grateful. Thank you. 

I am so grateful, grateful for everything.

What have I been coding yesterday?

Notice that I said yesterday. Today has been all about review. Today has been mad. Today has been...

... all about doing everything that I didn't have time to do yesterday.

Okay, so....

The coding?!?

And today, I wrote...

Artur and I wrote some really useful and helpful code on higher-order functions. It was mainly him writing it though, so I won't share on Codepen. But here are some examples:

function getGreetingNormal(name, age) {
  return `Hello ${name}, you are ${age} years old!`
}

function getGreeting(name) {
  return function greet(age) {
    return `Hello ${name}, you are ${age} years old!`
  }
}

const greetSusanna = getGreeting('Susanna')


// hello Susanna, you are 28 years old!
greetSusanna(28)

Comments

Popular posts from this blog

Hello World

Yosemite

Where To Hide A Star