Playing around with Elm

This is a quick exploration into Elm hosted at: https://hankyates.github.io/code-share/. I just made a quick little code sharing site that pulls from githubs gist api. My Impressions on Elm Pros No runtime errors. Not alot of boilerplate. Strong types. Cons Not newbie friendly at all. Docs…

More stuff on Currying and Promises

I know my last post was on currying but this is tool that has confounded me for a long time and I'm finally coming around to understanding what are appropriate use cases for it. The problem with currying is I understand the concept. I understand what it is doing and…

Poorman's curry

Before you interject and say we should be using promises, We know. I've always heard Currying described as "A function that returns a function until all of its arguments are satisfied." It's commonly used to make utility functions. The classic example is always some adder function that has you'd never…

Invest in EcmaScript 6

(This post is a response to The State of JavaScript in 2015) It's no secret that the JavaScript ecosystem has a high level churn. New libraries and frameworks coming out and pushing the boundaries is a good thing. The primary complaint seems to be the level of noise is too…

React renderComponentToString use cases

Recently I was presented with a pretty cool challenge. Create a photo gallery from a macro inside of an article that looks like this: [Gallery:1234,4567,7890]. The numbers being MediaIds. Obviously this is a RegExp problem and I'll spare you that part of the implementation, but once we…

Teaching Javascript is hard

This can probably be boiled down to "Teaching is Hard," but I think Javascript does have it's own set of unique challenges. Do you cover frontend or backend? Do you teach native implementations of tools or go ahead and just teach jQuery? Is teaching Grunt going to be out of…