When Foo has the functions of our ClassToTest, Sinon is happy. When we create a Foo, the ClassToTest initialize does not run, which makes our tests happy.
Error handling schemes tend to add all kinds of complexity and ugliness to C code—especially in low-level programming where error cases are most prevalent.
Figuring out maximum character counts for concatenated SMS messages is complicated. Throw character encodings into the mix, and everything can become very muddled.