Last place I was at ¡°we can¡¯t touch anything in X library, because too much depends on it, and it might break¡±
Of course the way to fix about 50% of their problems was to add methods to the classes there. The whole system structure had a serious case of Class Envy with 4-5 classes in that library, but ¡°too risky¡±
Oh well, I¡¯m on the beach, so not my Monkey anymore
--
73 de KG2V
Charlie
toggle quoted message
Show quoted text
On Nov 24, 2019, at 7:49 PM, Steven Smith <ssmith.lists@...> wrote:
?I yeah refactoring a lot, and I think practice helps (shocking, I know). I include it in my workshops as well as in free resources on my github (). I also have three different Pluralsight courses on refactoring, including the monster 8 hour course Refactoring Fundamentals. Anyone can access these with a trial account and most enterprise shops I talk to have subscriptions for their folks.
But to JB¡¯s point, I do think it¡¯s a part of TDD that newer devs lack confidence and probably skill to perform, at least until they gain experience with it.
Steve
On Nov 24, 2019, at 17:14, Hassan Schroeder <hassan.schroeder@...> wrote:
?On Sun, Nov 24, 2019 at 1:40 PM Charles Gallo <Charlie@...> wrote:
Place after place I¡¯ve been in has a small to mid sized collection of tests, that are either not maintained, not run, or not added to, and when you do start adding, management complains.
I¡¯ve never been to a place that does more than pay lip service
Ouch, that sucks. I'm part of a smallish team, but we deploy via CI/CD
and if any of the test suite, code coverage minimum, linter, or typespec
checker fails, it doesn't go out.
We reject PRs for not having adequate tests, and recognize people
for expanding coverage of existing code.
My condolences on your past employment situations :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@...
twitter: @hassan
Consulting Availability : Silicon Valley or remote