Don’t be a dumb developer

I had a situation at work where we had an edge case in a component: a sometimes a logo didn’t appear. When I noticed this, I responded as a dumb developer.

I didn’t look around, and notice in other very similar components that there was a fallback for this scenario. Instead, I just saw a lack of a logo, blinked, and just mentally folded.

Don’t do this. Don’t be a dumb developer.

Read More1 Comment

How to lint your Sass (scss) in Sublime Text

Linting your Sass is a great way to ensure some degree of code quality. At the very least you will have greater stylistic consistency.

One thing before we get started: be careful not to blindly follow what a linter says, though: treat linter rules as guidelines, not absolutes .

In my text editor of choice, Sublime Text 3, the best way to get linting in any language is currently using the Sublime Linter package. Once that is installed, you can install extension packages for each language you want to lint.

In my case, the main ones are Sass (as .scss), JavaScript and JSON. We’re going to focus on Sass here.

Read MoreLeave a comment

Changing to an SSD server – does it make a difference? An anecdote

I had been looking to change web hosts for a while, and thought I’d try out one of the hosts that was offering an SSD option.

I’ve also been learning a lot lately about performance, and how that is measured. This was a perfect opportunity to test the effect of an SSD server. Since I was moving my site, and changing nothing else about it, this seemed like a good comparison.

Read MoreLeave a comment