Comments by "Brent Jacobs" (@br3nto) on "ThePrimeTime"
channel.
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
4:27 and 16:22 I think Primeagen is not understanding Dave’s approach. Dave’s TDD is much more atomic than testing an entire complete function, edge cases and all. In the first TDD iteration for writing a function, a function will have 0 edge cases, in the next, a new test added, to test an edge case which will fail at first, then the function is updated to meet the new expected behaviour of the two tests, rinse and repeat. You don’t write the entirety of the behaviour of the function up front, you build it up piece by piece. So a buggy test isn’t really likely because it is so atomic. Now you might argue that the tests are then too fine grained and brittle, however, they test the functionality that is expected of the program and the stakeholders, so if a requirement changes, you remove the no longer applicable tests and one by one add new ones with the new requirements.
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
Ok yeah I get what he is saying about meta work. Spend hours talking about the task to be done, the knowns and unknowns, who in the org may have the relevant skills, the correct communication paths to reach those people, find out those people are on holidays, so wait till they get get, then all meet and gather info from that expert, then meet back the next day to discuss the info gathered from the expert, then talk about the task to be done, and the knowns and unknowns, and then document our current knowledge, then do it all again. Yeah meta work takes up orders of magnitude more time than the actual work.
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1