What the… Function!

Camille Hall
1 min readApr 30, 2019

--

I vividly remember my first time learning about functions. Specifically functions with multiple parameters. I remember staring at the screen rereading the line that declared the function then skipping down to where the function was being invoked. Again and again I read

function doThis(param1, param2){ 
}
doThis(“clean up”, “sleep”);

…but it did not yet make sense as to why it worked. It wasn’t until I went into Chrome’s developer tools and played around with the debugger that it made sense. I placed a breakpoint down where the function was being invoked and stepped into the function and it’s statements line by line. That’s when I was able to see the​ recipe​ of sorts that made up this function.

It is defining moments like this that changed the trajectory of my life in many positive ways. It’s moments like these that must not go uncelebrated. In hindsight, though this code is easy now the takeaway is that a solid foundation and understanding of the inner workings of code while utilizing the tools that are available makes for a strong developer.

Stay the course, you got this!

Camille

--

--

Camille Hall

Camille Hall is a powerhouse in the tech industry, and she's just getting started.