Ciaran MorinanSimulate entire worlds in a Medium postYou can now embed models created in HASH in Medium posts: simply click on the embed (video) button, paste in the link to the model, and…Mar 25, 2021Mar 25, 2021
Ciaran MorinanMongoDB & Mongoose in Node.js— a quick start guideI recently got to grips with interacting with MongoDB via the Mongoose library in Node.JS. That sentence is more of an ordeal than the…Nov 13, 20181Nov 13, 20181
Ciaran MorinanPassing functions as arguments in JavaScript — tips and pitfallsFunctions in JavaScript are ‘first class’, which means they are treated like any other variable — including being passed to or returned…Oct 23, 2018Oct 23, 2018
Ciaran MorinanTesting your code — test independence, avoiding test clash, and learning from itThis is a short story about a test I couldn’t get to pass and what it taught me about 3 things:Oct 1, 2018Oct 1, 2018
Ciaran MorinanHow to use #each_with_object in Ruby, when to use it , and when not to!I am continually delighted at the methods and syntax in Ruby which allow you to carry out complex operations with minimal lines of code.Sep 16, 20181Sep 16, 20181