-- Leo's gemini proxy

-- Connecting to republic.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Mocks are Bad, Layers are Bad


In which I argue that mocks are a code smell, and layers lead to increased coupling:


Mocks are Bad, Layers are Bad (in ACCU 's Overload Journal issue 127)


Mocks are Bad, Layers are Bad

ACCU


I also suggest some ways to avoid both mocks and layers, including Classical TDD, Selfish Object, Refactor to Functional and, of course, the Unix Philosophy. I work through a code example to demonstrate some of these things.


I also suggest that frameworks and inheritance hierarchies are bad, but the title was getting too long already.


You can also get the PDF of Overload 127.


Originally posted at 2015-06-10 07:33:23+00:00. Automatically generated from the original post : apologies for the errors introduced.


PDF of Overload 127

original post

-- Response ended

-- Page fetched on Sun May 19 04:26:45 2024