@Rene_Wiersma I don't see how TDD has an
influence on the internal implementation (and it shouldn't). My point here was
that it's clearer to first write in high level functions vs. diving into the
implementation detail right away.
1 reply
@Rene_Wiersma listOfMembers.contains(member)
would work, but here you already need to know that listOfMembers
- exists
- is a list that has the contains() API
Two more things that are easy for experienced developers, but not
straightforward for beginners.