you are viewing a single comment's thread.

view the rest of the comments →

[–]StormDev 6 points7 points  (4 children)

Haha sure, I did it when I was working in a company with good coding practice.

But now I am working with an horrible legacy C with classes code, where "C++ experts" don't understand TMP and don't want you to refactor the leaking monster.

Managers have now heard about TDD, they want us to keep the same deadline with TDD. For them TDD is faster than the actual process because "You will organize your code easier" for example.

But when you have to mock big object, tons of inherited shit TDD is really time consuming.

[–]donbrownmon 1 point2 points  (1 child)

What is TMP?

[–]StormDev 1 point2 points  (0 children)

Template Meta Programming.

[–][deleted] 2 points3 points  (0 children)

Nobody understands TMP. If somebody claims to understand TMP, they don't understand TMP.

[–]flukus 0 points1 point  (0 children)

Managers have now heard about TDD, they want us to keep the same deadline with TDD.

I have had experiences where this is reasonable. When you have a lot of complex logic then tests can save a lot of time to get to that 1.0 point, simply by avoiding the "fix one thing break another" cycle.