Javascript imports and exports

Functions, objects and primitive values can be exported from a module. A module can have many named exports and one default export, ES6 favours a default export per module with additional helper functions exposed as named exports. Exports can be marked ‘in-line’ or separately where the practise generally is to export at the end of […]

What is Lambda Calculus

Lambda Calculus is a simple and very sparse notation for representing and applying functions. The format is: λx.x Where λ signifies it is a Lambda function The x before the period represents the input to the function The function body follows the period So λx.x is the equivalent of: function(x) { return x } or […]

VS Code as a markdown editor

When I write anything I prefer to do it in markdown then export it to MS Word, Evernote or WordPress. VS Code makes a great markdown editor with a couple of extensions. Extensions Markdown All in One Seems like an obvious place to start. Adds useful shortcuts, ToC, table formatting and some other useful features. […]