Ok so what I am about to discuss might be old news for most but for me it’s new. After discovering this I have to admit that I am a bit disappointed in myself for not already knowing this. When implementing asynchronous methods in Node I had always done the following: function asynchProcessFunc = function(callback) …
Category Archives: CodeProject
Sometimes sanity isn’t the best route
I saw the following post on twitter earlier this week: I have to admit that my first response was of course all the time. Then afterwards it got me thinking about those times that I broke this rule. Don’t look at me or tell me that you have never patched bad code. We all have …
Date Counting
Ok so I kind of left my previous post a bit incomplete. I did so because there was that bit of date calculation that I wasn’t yet done resolving. Remember this bit of code: int castedInterval = (int)interval; int minutes = (castedInterval / 60) % 60; Ok so I will be honest I wasn’t that …