-
No Prize From Marvel
A friend and I participated in staticshowdown, a code-a-thon for “static” applications. While we won’t win a prize for our app (we didn’t really finish), I was awarded a No-Prize from Marvel Comics for finding a bug in their API implementation.
Read more... -
Get Gulping
After reading “And just like that Grunt and RequireJS are out, it’s all about Gulp and Browserify now”, I realized the power of using one module pattern for both server-side and client-side code. That makes me want to start releasing a bunch of my “go-to” snippets as NPM modules. I seem to use some form of this code on every other project, why shouldn’t I just
Read more...require( "mystuff" )
? -
The First Rule Of Hackathon
First rule of hackathon: “You don’t talk about hackathon.”
Read more... -
Fix Functional Methods
While I don’t go in for puzzlers as interview questions anymore (yes, I was that guy), I enjoy a good brain teaser now and again. JavaScript Puzzlers! reminded me that in my attempt to tame native functions, I was missing a few. Namely,
Read more...parseInt
(a binary function with no receiver object and an often forgotten second parameter) andMath.pow
(a binary function with a more helpful second parameter) functions. -
Take Or Leave Functional Programming
I appreciate orthogonality in programming. If you name a method in your app “out,” I might expect its pair-opposite, “in” to appear. Even more interesting, I enjoy seeing the implementation of “in” referencing “out” in some way (or visa versa).
Read more...