I have a phone interview with Deloitte Digital tomorrow morning. The position is for an associate front end engineer. They have designers on staff so a front end engineer is basically a JavaScript person. I’ve started to wonder if I like JavaScript more than I like Ruby.
I’ve decided to dig a little deeper. Why do I like JavaScript? It turns out that what I love about JavaScript is the immediate gratification of seeing something appear on the page.
What else? I also dig the functional concepts of JavaScript:
- Anonymous Functions are not tied to any specific identifier. This can be useful when we want to keep things DRY.
- Higher Order Functions are functions that accept functions as arguments or returns functions. i.e. Callbacks.
- Closures are functions within functions. The inner function has access to the outer functions scope chain (variables and parameters). This is really cool, but can get you into trouble.
- Functions can be assigned to variables like other values.
Stay connected