Profile cover photo
Profile photo
Dave Thompson
23 followers
23 followers
About
Posts

Post has attachment
Testing callbacks in Node.js
When you're using any asynchronous language such as JavaScript or Node.js you will possibly be using callbacks. You will also want to make sure that you can unit test these callbacks successfully. This blog describes a pattern for unit testing callbacks in ...
Add a comment...

Post has attachment
Managing a training programme using Scrum
TL;DR - use an agile methodology to provide structure, rapid feedback, visibility, focus and motivation to an on-the-job training programme. Whilst preparing an internal software development training programme I decided to use Scrum to manage the process. M...
Add a comment...

Post has attachment
Never calculate your own timestamps
I came across a function in a PHP application I'm working on, the function was designed to take in a year and populate an array with weeks in that year, including the start timestamp, end timestamp and description. The detail is irrelevant but if you are in...
Add a comment...

Post has attachment
Koans
The word koan originates from Zen Buddhism and google defines it as this: - A paradoxical anecdote or riddle, used in Zen Buddhism to demonstrate the inadequacy of logical reasoning and to provoke enlightenment. Applying this to programming has resulted in ...
Add a comment...
Wait while more posts are being loaded