Net Objectives Thoughts

TDD Replicating Algorithms


Listen Later

Developers often remark that the tests may contain the same algorithms that the production code does. This feels like redundancy and makes them wonder if TDD is promoting bad practices. Example: A system that converts Fahrenheit to Celsius. The code would contain something like this: return (F - 32) * 5/9; The test might contain … Continue reading "TDD Replicating Algorithms"
...more
View all episodesView all episodes
Download on the App Store

Net Objectives ThoughtsBy Al Shalloway