Discussion about this post

User's avatar
Philipp Rembold's avatar

Once I was in a situation where I was the responsible architect and we were discussing a series of refactoring that would lead to a better design.

One of the arguments against it was' then we need to adapt all the documentation we wrote'.

Which was one of my better moments, because I then deleted all extracts of source code in the documentation and instead of describing the implementation, we wrote down the principles that guided the implementation and the decisions we made.

The truth is in the code and in the test cases :)

Expand full comment
Vaclav Prokop's avatar

Just saw the "self-descripting code" phrase: Isn't that rather more an idea than a reality in software industry? I just finished one of those self descriptive projects. A doc already exists: a requirement analysis doc, the problem domain analysis resulting into nice domain model, covered by tests, some 80%. To work this way is a pleasure for me. Unfortunatelly, my usual daily software engineer work is to deal with a mess. A mess improved by my "clever solution" still remains a mess that is hard to describe.

Expand full comment
13 more comments...

No posts