Wednesday, May 10 2017 good-samaritan
I’ve got some integration tests that need to know where their source code lives as they require loading sample files when they run. Hard coding the path into the tests is possible - and I did that for a time - but it’s also fragile and has odd error modes.
Tuesday, April 25 2017 xml
There seems to be a lot of hatred for XML. It’s not hard to find blog posts and articles where the author rants about the deficiencies and inefficiencies of XML and promotes the beauty of JSON, YAML, or something else. Is this level of vitriol really deserved?
Saturday, April 15 2017 smart-code
It’s no secret that I’m a big fan of static analysis tools, believing that they can provide a very useful second opinion on my code, helping me to deliver high-quality code that does what it is needed.
Saturday, April 08 2017 testing
As discussed last time, the value of a unit test comes when it fails, signaling that some necessary characteristic of the system is no longer present.
Sunday, April 02 2017 testing
A unit test that always passes has a certain value - but one that fails can be priceless. Think about the reasons why you might write unit tests for your code.
|You keep using that word: Mandatory||19 Mar 2017|
|Why Immutable Types?||11 Mar 2017|
|Immutable Type Miscellany||05 Mar 2017|
|Testing Immutable Types||25 Feb 2017|
|Restored Posts||19 Feb 2017|
|Factory Methods||18 Feb 2017|
|Sharpen The Saw #10||13 Feb 2017|
|Queue Concatenation||11 Feb 2017|
|Complex Immutable Queues||04 Feb 2017|
|The Problem with the Simple Immutable Queue||28 Jan 2017|
|Enumeration of Immutable Queues||21 Jan 2017|
|Reversing Immutable Stacks||14 Jan 2017|
|Simple Immutable Queues||07 Jan 2017|
|Immutable Queues||30 Dec 2016|
|Immutable Stacks Miscellany||22 Dec 2016|
|Immutable Stack Equality||09 Dec 2016|
|Enumerating Immutable Stacks||03 Dec 2016|
|Immutable Stack Diagrams||26 Nov 2016|
|Immutable Stacks||19 Nov 2016|
|Method Archetypes||15 Nov 2016|
|The Nature of Experience||22 Oct 2016|
|What is it with Booleans?||08 Oct 2016|
|Track your Test Coverage with OpenCover||19 Sep 2016|
|Are Boolean Return values Evil?||11 Sep 2016|
|Null arguments are evil||14 Aug 2016|
|It's just an Internal Tool||07 Aug 2016|
|Don't work too hard||30 Jul 2016|
|Sharpen The Saw #9||25 Jul 2016|
|When (not) to use Var||16 Jul 2016|
|Sharpen The Saw #7||11 Jul 2016|