JavaScript
Essays on writing JavaScript: type checking, curried functions, self-describing code and modules that run on both frontend and backend.
Articles
Making a node module which works both on frontend and backend
If theres some logic which needs to run on both frontend (JavaScript/HTML) and backend (NOdeJS) then there are some patterns which allow you to use the same module in both places.
Parsing self-describing JavaScript code
It is possible to write code in a manner that allows you to choose whether to execute it or grab a description of what the code does as an Abstract Syntax Tree. All using the…
Self-describing code
It is possible to write code in a manner that allows you to choose whether to execute it immediately or grab a description of what the code does as an Abstract Syntax Tree. All…
Curried functions
Curried functions exists in some programming languages and they are functions which have been called without all their arguments. This yields a new function which has the…
Simple speedups
If you have a Web application there are likely countless ways you can speed it up, some with significant performance gains, and some adding up to significant gains if you apply…