Series Table of Contents
- Part 1: Series Introduction (this article)
- Part 2: The Prototype Chain (coming soon)
- Part 3: The this Keyword (coming soon)
- Part 4: The new Keyword (coming soon)
- Part 5: Classes (coming soon)
Continue reading “OOP in JS: Series Introduction”
- The Thread of Execution
- The Call Stack
I am not covering the concept of asynchronicity here but I will go over that in a future note(s).
I knew GitHub supported emojis – I often use them in PR messages, comments, etc. What I didn’t know is that you can also add emojis in your commit messages.
Continue reading “TIL: GitHub Emojis”
As of ES2015, we are able to use Template Literals. These are string literals that allow embedded expressions.
New with ES6, we have an additional way to write function expressions in our code – as arrow functions. This new syntax offers 3 main benefits:
- They are much more concise than regular function expressions/definitions
- They have implicit returns, which allow us to write single-line expressions (much like we can do with conditionals and the ternary operator)
- The value of
this is lexically bound, meaning that it is not re-bound when you use an arrow function inside of another function – which is very helpful for asynchronous callbacks
As of ES6, we have two new ways to define variables, in addition to the classic
var keyword. Each are a little bit different in their own way and I’ll break down those differences in this article.
A few weeks ago, I gave a presentation at WordCamp Greenville on CSS Grid Layout.
It was the very first WordCamp Greenville and also my first conference talk so it was a pretty exciting experience for me all around.
You can watch the full recording of my talk below:
Additionally, you can view my presentation slides here.
I’ve been looking for a good autocomplete plugin for Vim for a while. It seems like the most popular option by far is YouCompleteMe (which I have been using for a while now). While I think YouCompleteMe is a good plugin, I also feel like it’s a bit heavy and seems to need a lot to setup and maintain. I always seem to have issues with the server going down.
Basically, I just wanted a lighter option.
Continue reading “Vim Text Completion”
What is Web Storage and when would you use it?
There are instances where storing data in a users browser can be really helpful. Up until somewhat recently, saving the state of the application locally in the browser via Cookies was the main way to achieve this. Cookies have limitations, however. For example, their max size (4093 bytes) and the fact that they have to me transmitted with every request.
Continue reading “Intro to the Web Storage API”
CSS Custom Properties, also commonly referred to as CSS Variables, is a specification that allows you to declare a property and use it later on in your stylesheet. This works similar to how you would declare a variable with a preprocessor.
Continue reading “Using CSS Custom Properties”