React hooks has provided devs with a new way to create components that no longer relies on using Javascript’s dodgy implementation of classes.

Now JS devs can write plain Javascript functions as React components, which is awesome (watch Source Decoded’s video on prototypes for some background info on Javascript classes).

Believe me that this is not an article panning hooks, hooks are super useful and I use them every day at my work, but I think there’s a miscomprehension among many devs about what hooks are for and how they should be used. …

I watched an Emacs video the other day from a dev who moved from Vim and he made a pretty good case for why you might want to make the jump. Plus there’s some things that have been annoying me about Vim lately…

Vim Beefs

Currying allows us to create middleware for Redux that doesn’t interfere with any of its functionality.

I can create a curried function that logs a sentence built by calling that function multiple times with different arguments:

function logger(geeting) {
return function(name) {
console.log(greeting, 'My name is ', name)


// Hi! My name is Bob

It will only log the sentence the second time it’s called.

Using this technique we can pass first the redux store then store.dispatch to a function that logs the state of the store each time dispatch is called:

function logger(store) {

I’ve tried netrw, NERDTree, Vim Ranger, a modified version of fzf.vim and even simply using the command window with path/** . None of these has quite worked for me and I’m forever fighting Vim trying to find a decent way to look at a folder structure and preview files before I commit to opening them.


For some reason netrw can’t deal with Vim’s concept of buffers. If you have a netrw buffer open it’s almost impossible to remove it from the buffer list. A netrw buffer won’t even respond to bwipeout (the duke nukem of Vim buffer commands). …

Computer’s are really smart, right?

I would use an operating system like Mac OS and think, why isn’t it that all operating systems are this good?

Things should always be this intuitive and obvious; visual and clean.

We’re spoiled with excellent programs, available for public use for free; and often the more freely available programs are also the best written ones. …


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store