Relative Content

Tag Archive for clean-code

Does TDD lead to good design? [duplicate]

This question already has answers here: Why does TDD work? [closed] (19 answers) Closed 10 years ago. I’m in transition from “writing unit tests” state to TDD. I saw as Johannes Brodwall creates quite acceptable design from avoiding any of architecture phase before. I’ll ask him soon if it was real improvisation or he had […]

Using a “dead man’s switch” to manage time-sensitive code

In our software environment, we often run a/b tests, as is probably good practice. However, our environment is set up such that, in very short order, the code starts to become very crufty with dead tests. The testing registry is little more than a collection of internal wiki pages.

About clean code

Example: I have a method that formats the output based on a parameter from an object. The question is, should I pass the object that holds the parameter to the method, or just the required param?

Web API URI Schema Design

I’m in the middle of designing an API for a very basic flashcard application for learning purposes and I’m wondering if you all think there can be any improvements.