TDD for Embedded C++
2019-12-16 09:12:35 UTC
Most useful learnings:
I think the most useful thing was to be able to apply the TDD knowledge in real exercises and recover the discipline for doing TDD I lost.
Concepts v exercises:
Presentation v discussion:
I think the time at the end of the day could be better used. We started some exercises at 16:00 o´clock and I think people was already tired and one hour or one hour and half does not give you much to advance. Maybe more exercises could be done earlier in the day and leave this time to discuss stuff.
I think exercises are well chosen. One Circular Buffer which should be easy and helps you to focus on TDD and not the problem. Then the flash driver stuff, which goes lower level.
Any comments, all good.
I think so, but depends on what piece of code. We have a lot of code that does not tell any story, even the tests are difficult to understand.
Challenges to applying:
Most of people here come from an electronic engineer background and tend not to abstract much. Then if you try to abstract they say it will hit the performance.I think TDD without good SOLID principles can be difficult as that quick loop iteration becomes a slow loop iteration.
Legacy code workshop:
Recommend to others: