Matt’s Tidbits #99 – Handling null elegantly Last week I wrote about some truthiness edge cases in JavaScript. This time, I have a quick tidbit on elegantly handling null/undefined values. null - called the “Billion-Dollar Mistake” by its inventor, C.A.R. Hoare - most programmers are probably intimately familiar with this (and why it might be categorized as a mistake!)…

Read More