Become a member
Sign in
Ciaran Morinan
Ciaran Morinan

Ciaran Morinan

1 Following
3 Followers
  • Profile
  • Claps

Latest

Ciaran Morinan
Ciaran Morinan
Nov 13, 2018 · 5 min read

MongoDB & Mongoose in Node.js— a quick start guide

I recently got to grips with interacting with MongoDB via the Mongoose library in Node.JS. That sentence is more of an ordeal than the actual process, which is straightforward enough — if you follow this handy guide!

7

1 response
Ciaran Morinan
Ciaran Morinan
Oct 23, 2018 · 4 min read

Passing functions as arguments in JavaScript — tips and pitfalls

Functions in JavaScript are ‘first class’, which means they are treated like any other variable — including being passed to or returned from other functions.

52

Ciaran Morinan
Ciaran Morinan
Oct 1, 2018 · 3 min read

Testing your code — test independence, avoiding test clash, and learning from it

This is a short story about a test I couldn’t get to pass and what it taught me about 3 things:

  1. Running and stepping in to your tests
Ciaran Morinan
Ciaran Morinan
Sep 16, 2018 · 7 min read

How 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.

82

1 response